Download Jar. Libraryless. Click here for Pure Java version (14396L/101K).
1 | !7 |
2 | |
3 | concept A { S a; } |
4 | |
5 | p-exp { |
6 | new ConceptsLoadedOnDemand cc; |
7 | |
8 | Concepts c1 = cc.get("case 1"); |
9 | assertSame(c1, cc.get("case 1")); |
10 | uniq(c1, A, a := "bla"); |
11 | pnlStruct(list(c1, A)); |
12 | |
13 | Concepts c2 = cc.get("case 2"); |
14 | assertSame(c2, cc.get("case 2")); |
15 | uniq(c2, A, a := "blubb"); |
16 | pnlStruct(list(c2, A)); |
17 | |
18 | cleanUp(cc); |
19 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024287 |
Snippet name: | Test ConceptsLoadedOnDemand (OK) |
Eternal ID of this version: | #1024287/3 |
Text MD5: | cf8456ce9bbd7c71c79f2a8df720e93c |
Transpilation MD5: | 2a5d05db7c75963003e738710c820d37 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-29 14:20:10 |
Source code size: | 356 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 351 / 1131 |
Version history: | 2 change(s) |
Referenced in: | [show references] |