SectionKind has been retired

This commit is contained in:
2022-09-21 21:25:48 -04:00
parent b3ebd7a259
commit 6040980003
6 changed files with 7 additions and 68 deletions

View File

@@ -101,14 +101,14 @@ func (analyzer *AnalysisOperation) fetchSection (
// table as soon as the vital details are acquired, and mark it as
// incomplete. that way, it can still be referenced by itself in certain
// scenarios.
switch parsedSection.Kind() {
case parser.SectionKindType:
switch parsedSection.(type) {
case parser.TypeSection:
section, err = analyzer.analyzeTypeSection()
if err != nil { return}
case parser.SectionKindEnum:
case parser.SectionKindFace:
case parser.SectionKindData:
case parser.SectionKindFunc:
case parser.EnumSection:
case parser.FaceSection:
case parser.DataSection:
case parser.FuncSection:
}
return