Errors encountered while analyzing are no longer ignored
This commit is contained in:
parent
41724a7e03
commit
d74f3a40dd
@ -46,6 +46,7 @@ func (analyzer *AnalysisOperation) analyze () (err error) {
|
|||||||
modulePath: analyzer.modulePath,
|
modulePath: analyzer.modulePath,
|
||||||
name: sections.Value().Name(),
|
name: sections.Value().Name(),
|
||||||
})
|
})
|
||||||
|
if err != nil { return err }
|
||||||
sections.Next()
|
sections.Next()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -242,6 +242,8 @@ func (what Type) Describe () (description string) {
|
|||||||
description += "UInt"
|
description += "UInt"
|
||||||
case &PrimitiveInt:
|
case &PrimitiveInt:
|
||||||
description += "Int"
|
description += "Int"
|
||||||
|
case &BuiltInString:
|
||||||
|
description += "String"
|
||||||
|
|
||||||
case nil:
|
case nil:
|
||||||
panic("invalid state: Type.actual is nil")
|
panic("invalid state: Type.actual is nil")
|
||||||
|
Reference in New Issue
Block a user