mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Resolve used packages during type checking
This commit is contained in:
1 parent
366a9388b3
commit
1255b162ea
5 files changed
+138
-35
No files matched your search
@@ -111,7 +111,7 @@ func TestCheck(t *testing.T) {
|
||||
t.Fatalf("compareToWuffsfmt: %v", err)
|
||||
}
|
||||
|
||||
c, err := Check(tm, file)
|
||||
c, err := Check(tm, []*ast.File{file}, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("Check: %v", err)
|
||||
}
|
||||
@@ -208,7 +208,7 @@ func TestConstValues(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
c, err := Check(tm, file)
|
||||
c, err := Check(tm, []*ast.File{file}, nil)
|
||||
if err != nil {
|
||||
t.Errorf("%q: Check: %v", s, err)
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user