Libraryless. Click here for Pure Java version (5056L/34K/113K).
1 | !752 |
2 | |
3 | concepts. |
4 | |
5 | concept A { |
6 | S name; |
7 | |
8 | *() {} |
9 | *(S *name) { change(); } |
10 | } |
11 | |
12 | A > B { |
13 | *() {} |
14 | *(S name) { super(name); } |
15 | } |
16 | |
17 | p { |
18 | new A("hello"); |
19 | new B("yes"); |
20 | print(renderConcepts(assertLength(2, list(A)))); |
21 | print(renderConcepts(assertLength(1, list(B)))); |
22 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005334 |
Snippet name: | Test optimized concept listing |
Eternal ID of this version: | #1005334/1 |
Text MD5: | 709bb0ef221f49af0c8fe6999be10ae5 |
Transpilation MD5: | 4347cefb6a9058f0730cb506139309b5 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-11-07 00:32:44 |
Source code size: | 292 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 490 / 539 |
Referenced in: | [show references] |