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

11
LINES

< > BotCompany Repo | #1024866 // test_structure_customObjects

JavaX fragment (include)

1  
scope test_structure_customObjects.
2  
3  
sclass #A { S a; [stdEq] }
4  
5  
sclass #B extends A { S b; [stdEq] }
6  
7  
svoid test_structure_customObjects() {
8  
  testStructureFunction(nu(A, a := "AAA"));
9  
  testStructureFunction(nu(B, a := "ABC", b := "DEF"));
10  
  print("OK");
11  
}

Author comment

Began life as a copy of #1005589

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: #1024866
Snippet name: test_structure_customObjects
Eternal ID of this version: #1024866/3
Text MD5: afdc308c7972e56af3d155333c36af00
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-27 20:46:14
Source code size: 268 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 276 / 323
Version history: 2 change(s)
Referenced in: [show references]