From cced825f74427f972629994c1e5ed896c9842ce5 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Thu, 18 Aug 2022 19:40:35 -0400 Subject: [PATCH] Changed this one thing to the other thing --- parser/tree-tostring.go | 2 +- parser/tree.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parser/tree-tostring.go b/parser/tree-tostring.go index a22f964..8c40986 100644 --- a/parser/tree-tostring.go +++ b/parser/tree-tostring.go @@ -258,7 +258,7 @@ func (section *TypeSection) ToString (indent int) (output string) { "type ", section.permission.ToString(), " ", section.name, ":", - section.what.ToString()) + section.inherits.ToString()) if section.defaultValue.value == nil { // TODO: print out members diff --git a/parser/tree.go b/parser/tree.go index 8f409ea..30b4be5 100644 --- a/parser/tree.go +++ b/parser/tree.go @@ -176,7 +176,7 @@ type TypeSection struct { location file.Location name string - what Type + inherits Type permission types.Permission defaultValue Argument // this should be 1 dimensional for now.