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, | ||||
| 			name: sections.Value().Name(), | ||||
| 		}) | ||||
| 		if err != nil { return err } | ||||
| 		sections.Next() | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| @ -242,6 +242,8 @@ func (what Type) Describe () (description string) { | ||||
| 			description += "UInt" | ||||
| 		case &PrimitiveInt: | ||||
| 			description += "Int" | ||||
| 		case &BuiltInString: | ||||
| 			description += "String" | ||||
| 		 | ||||
| 		case nil: | ||||
| 			panic("invalid state: Type.actual is nil") | ||||
|  | ||||
		Reference in New Issue
	
	Block a user