Libraryless. Compilation Failed (11784L/79K).
concept Bla { new Ref<Bla> ref; } svoid test_findBackRefs() { new Concepts cc; Bla a = cnew(cc, Bla); Bla b = cnew(cc, Bla, ref := a); assertEqualsVerbose(ll(b), findBackRefs Bla(a)); cset(b, ref := null); assertEqualsVerbose(ll(), findBackRefs Bla(a)); cset(a, ref := b); assertEqualsVerbose(ll(a), findBackRefs Bla(b)); cdelete(a); assertEqualsVerbose(ll(), findBackRefs Bla(b)); }
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: | #1023722 |
Snippet name: | test_findBackRefs |
Eternal ID of this version: | #1023722/5 |
Text MD5: | 029e38641655f9f7981ea8d28b3f6185 |
Transpilation MD5: | b7eb2d94c68cab8e98a5a3b004d0f30b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-04 21:18:56 |
Source code size: | 421 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 202 / 294 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |