type typeErrors … func (e *typeErrors) fieldTypeMismatch(id int64, l common.Location, name string, field, value *types.Type) { … } func (e *typeErrors) incompatibleType(id int64, l common.Location, ex ast.Expr, prev, next *types.Type) { … } func (e *typeErrors) noMatchingOverload(id int64, l common.Location, name string, args []*types.Type, isInstance bool) { … } func (e *typeErrors) notAComprehensionRange(id int64, l common.Location, t *types.Type) { … } func (e *typeErrors) notAnOptionalFieldSelection(id int64, l common.Location, field ast.Expr) { … } func (e *typeErrors) notAType(id int64, l common.Location, typeName string) { … } func (e *typeErrors) notAMessageType(id int64, l common.Location, typeName string) { … } func (e *typeErrors) referenceRedefinition(id int64, l common.Location, ex ast.Expr, prev, next *ast.ReferenceInfo) { … } func (e *typeErrors) typeDoesNotSupportFieldSelection(id int64, l common.Location, t *types.Type) { … } func (e *typeErrors) typeMismatch(id int64, l common.Location, expected, actual *types.Type) { … } func (e *typeErrors) undefinedField(id int64, l common.Location, field string) { … } func (e *typeErrors) undeclaredReference(id int64, l common.Location, container string, name string) { … } func (e *typeErrors) unexpectedFailedResolution(id int64, l common.Location, typeName string) { … } func (e *typeErrors) unexpectedASTType(id int64, l common.Location, kind, typeName string) { … }