Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1035411 // test_unstructureErrorInConstructor

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (13042L) is out of date.

1  
scope test_unstructureErrorInConstructor.
2  
3  
sclass #Oopsie { *() { if (dynamicObjectIsLoading()) fail(); } }
4  
5  
svoid test_unstructureErrorInConstructor() {
6  
  assertInstanceOf(DynamicObject, restructure(new Oopsie));
7  
  print("OK");
8  
}
9  
10  
end scope

Author comment

Began life as a copy of #1030947

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035411
Snippet name: test_unstructureErrorInConstructor
Eternal ID of this version: #1035411/5
Text MD5: b82b873aa06cd441d7bba018f37915f7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-06 16:11:59
Source code size: 250 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 190
Version history: 4 change(s)
Referenced in: [show references]