Libraryless. Click here for Pure Java version (13281L/90K).
scope test_checkConceptFields_with_RefL. concept X { new RefL<X> list; } svoid test_checkConceptFields_with_RefL() { new Concepts cc; X a = cnew(cc, X); X b = cnew(cc, X, list := ll(a)); assertTrueVerbose(checkConceptFields(b, list := ll(a))); assertFalseVerbose(checkConceptFields(b, list := ll(a, a))); assertFalseVerbose(checkConceptFields(b, list := ll(b))); } end scope
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1029980 |
Snippet name: | test_checkConceptFields_with_RefL [OK] |
Eternal ID of this version: | #1029980/2 |
Text MD5: | 820695ce4bbfde53e3900f60d508860f |
Transpilation MD5: | 6c3f7810455648f478c99b5cbc5d0830 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-10-26 12:09:22 |
Source code size: | 406 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 189 / 265 |
Version history: | 1 change(s) |
Referenced in: | [show references] |