Changed this one thing to the other thing

This commit is contained in:
Sasha Koshka 2022-08-18 19:40:35 -04:00
parent 9fd3fb1263
commit cced825f74
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ func (section *TypeSection) ToString (indent int) (output string) {
"type ", "type ",
section.permission.ToString(), " ", section.permission.ToString(), " ",
section.name, ":", section.name, ":",
section.what.ToString()) section.inherits.ToString())
if section.defaultValue.value == nil { if section.defaultValue.value == nil {
// TODO: print out members // TODO: print out members

View File

@ -176,7 +176,7 @@ type TypeSection struct {
location file.Location location file.Location
name string name string
what Type inherits Type
permission types.Permission permission types.Permission
defaultValue Argument defaultValue Argument
// this should be 1 dimensional for now. // this should be 1 dimensional for now.