type-section #4

Merged
sashakoshka merged 15 commits from type-section into main 2022-08-20 02:06:45 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit cced825f74 - Show all commits

View File

@ -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

View File

@ -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.