Libraryless. Click here for Pure Java version (250L/3K/8K).
1 | !747 |
2 | |
3 | m { |
4 | p { |
5 | Class x = hotwire("#1001359"); |
6 | callMain(x); |
7 | S pi = cast get(x, "pi"); |
8 | print("#1001359".equals(pi) ? "inner id!" : |
9 | "#1001360".equals(pi) ? "outer id!" : |
10 | "huh? " + pi); |
11 | } |
12 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID | Author/Program | Comment | Date |
---|---|---|---|
1125 | stefan | We now declare "inner id!" to be the correct output because that's the common case it seems (having the program independent). | 2015-10-11 15:24:51 |
Snippet ID: | #1001360 |
Snippet name: | Test case: hotwire and programID |
Eternal ID of this version: | #1001360/1 |
Text MD5: | 344ac2c754306b5deda03b793813e798 |
Transpilation MD5: | 1c7d26c41898ad26bad6da577946ac60 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-11 15:12:23 |
Source code size: | 234 bytes / 12 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 819 / 1140 |
Referenced in: | [show references] |