Libraryless. Click here for Pure Java version (13281L/90K).
1 | scope test_checkConceptFields_with_RefL. |
2 | |
3 | concept X { |
4 | new RefL<X> list; |
5 | } |
6 | |
7 | svoid test_checkConceptFields_with_RefL() { |
8 | new Concepts cc; |
9 | X a = cnew(cc, X); |
10 | X b = cnew(cc, X, list := ll(a)); |
11 | assertTrueVerbose(checkConceptFields(b, list := ll(a))); |
12 | assertFalseVerbose(checkConceptFields(b, list := ll(a, a))); |
13 | assertFalseVerbose(checkConceptFields(b, list := ll(b))); |
14 | } |
15 | |
16 | 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: | 191 / 267 |
Version history: | 1 change(s) |
Referenced in: | [show references] |