Rename mark to set_mark, part 1 of N

This commit is contained in:
Nigel Tao committed 2018-05-12 14:17:26 +10:00
1 parent 4afd7de09f
commit bd12c54ab5
9 files changed
+15 -13

No files matched your search

+3
View File
@@ -681,6 +681,9 @@ func (q *checker) tcheckDot(n *a.Expr, depth uint32) error {
if s == nil {
s = q.c.structs[lQID]
if s == nil {
if lQID[0] == t.IDBase {
return fmt.Errorf("check: no built-in function %q found", qqid.Str(q.tm))
}
return fmt.Errorf("check: no struct type %q found for expression %q", lTyp.Str(q.tm), lhs.Str(q.tm))
}
}