This commit is contained in:
2022-10-13 13:30:11 -04:00
parent 561e893327
commit d5687d7b0e
3 changed files with 6 additions and 13 deletions

View File

@@ -25,7 +25,7 @@ type Type struct {
locatable
// one of these must be nil.
actual *TypeSection
actual Section
points *Type
mutable bool
@@ -91,8 +91,6 @@ func (what Type) underlyingPrimitive () (underlying *TypeSection) {
case
&PrimitiveF32,
&PrimitiveF64,
&PrimitiveFunc,
&PrimitiveFace,
&PrimitiveObj,
&PrimitiveU64,
&PrimitiveU32,
@@ -105,7 +103,7 @@ func (what Type) underlyingPrimitive () (underlying *TypeSection) {
&PrimitiveUInt,
&PrimitiveInt:
underlying = actual
underlying = actual.(*TypeSection)
return
case nil:
@@ -235,9 +233,6 @@ func (analyzer analysisOperation) analyzeType (
}
}
// TODO
// TODO: figure out what todo ???
return
}