mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Type check built-in functions more thoroughly
This commit is contained in:
1 parent
4877279ee7
commit
d14b56ea39
15 files changed
+291
-163
No files matched your search
@@ -93,7 +93,7 @@ func parseFiles(tm *token.Map, filenames []string) (files []*ast.File, err error
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
f, err := parse.Parse(tm, filename, tokens)
|
||||
f, err := parse.Parse(tm, filename, tokens, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -112,7 +112,7 @@ func ParseFiles(tm *token.Map, filenames []string) (files []*ast.File, err error
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
f, err := parse.Parse(tm, filename, tokens)
|
||||
f, err := parse.Parse(tm, filename, tokens, nil)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user