Fixed some test case formatting

This commit is contained in:
Sasha Koshka
2022-08-18 20:09:04 -04:00
parent cced825f74
commit ef90115a1b
3 changed files with 47 additions and 7 deletions

View File

@@ -261,7 +261,11 @@ func (section *TypeSection) ToString (indent int) (output string) {
section.inherits.ToString())
if section.defaultValue.value == nil {
// TODO: print out members
if len(section.members) > 0 {
// TODO: print out members
} else {
output += "\n"
}
} else {
output += " " + section.defaultValue.ToString(0, false)
output += "\n"