Uses 1113K of libraries. Click here for Pure Java version (4576L/23K).
!7 set flag RealmCopy_debug. cprint { transient O realm1; start-thread { realm1 = hotwire(#1030982); O pair = nuInRealm(realm1, "main$Pair", 1, 2); print(+pair); assertNotSame(Pair, pair.getClass()); new RealmCopy rc; Pair pair2; //pair2 = (Pair) rc.copy(pair); pair2 = (Pair) vStackComputeWithPrintStruct(rc.copyComputation(pair)); assertEqualsVerbose(pair(1, 2), pair2); } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030983 |
Snippet name: | Test RealmCopy [works but needs more tests] |
Eternal ID of this version: | #1030983/6 |
Text MD5: | c0432b6a1b6a8d76260b05baf9c5f9f1 |
Transpilation MD5: | b21649a6cac79fd80c82deb4a97fd272 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-18 14:58:34 |
Source code size: | 447 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 210 / 361 |
Version history: | 5 change(s) |
Referenced in: | [show references] |