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