Type check built-in functions more thoroughly

This commit is contained in:
Nigel Tao committed 2017-12-16 13:25:26 +11:00
1 parent 4877279ee7
commit d14b56ea39
15 files changed
+291 -163

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ func TestString(t *testing.T) {
t.Errorf("Tokenize(%q): %v", tc, err)
continue
}
expr, err := parse.ParseExpr(tm, filename, tokens)
expr, err := parse.ParseExpr(tm, filename, tokens, nil)
if err != nil {
t.Errorf("ParseExpr(%q): %v", tc, err)
continue