Fix some typos in error messages.

This commit is contained in:
Nigel Tao committed 2017-06-03 10:56:38 +10:00
1 parent db41d789a5
commit 77b0bd784f
2 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ func (q *checker) bcheckStatement(n *a.Node) error {
return q.bcheckWhile(n.While())
default:
return fmt.Errorf("check: unrecognized ast.Kind (%s) for checkStatement", n.Kind())
return fmt.Errorf("check: unrecognized ast.Kind (%s) for bcheckStatement", n.Kind())
}
return nil