Skip to content

Commit

Permalink
fix(codegen): small typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Feb 25, 2022
1 parent 91daf10 commit d93719a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void setEnumTypeDefinition(EnumTypeDefinition typeDefinition) {

@Override
public String toString() {
return "DefaultComplexTypeReference{" +
return "DefaultEnumTypeReference{" +
"name='" + name + '\'' +
", params=" + params +
'}';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@

[type Root
[simple A a]
[virtual uint 8 doesIt 'a.b.c']
[virtual uint 8 doesIt 'a.b.c.nothingElseMatters' ]
[virtual bit thisNow 'a.b.c.secondField' ]
[virtual bit thisNow2 'a.b.c.thirdField' ]
]

[type A
Expand All @@ -31,5 +33,13 @@
]

[type C
[simple uint 8 nothingElseMatters]
[simple bit onlyOneField ]
[virtual bit secondField 'onlyOneField' ]
[simple D d ]
[virtual D thirdField 'd' ]
[simple uint 8 nothingElseMatters ]
]

[enum D
['0x1' D]
]

0 comments on commit d93719a

Please sign in to comment.