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)

scope test_structure_customObjects.

sclass #A { S a; [stdEq] }

sclass #B extends A { S b; [stdEq] }

svoid test_structure_customObjects() {
  testStructureFunction(nu(A, a := "AAA"));
  testStructureFunction(nu(B, a := "ABC", b := "DEF"));
  print("OK");
}

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: 275 / 321
Version history: 2 change(s)
Referenced in: [show references]