Type section now passes test

This commit is contained in:
2022-09-29 02:13:22 -04:00
parent 23072b5476
commit 011c968192
2 changed files with 17 additions and 25 deletions

View File

@@ -186,10 +186,10 @@ func (section DataSection) ToString (indent int) (output string) {
func (member TypeSectionMember) ToString (indent int) (output string) {
output += doIndent(indent, member.permission.ToString())
output += " " + member.name
if member.what.kind != TypeKindNil {
output += " " + member.name + ":"
output += member.what.ToString()
output += ":" + member.what.ToString()
}
if member.argument.kind != ArgumentKindNil {