mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
Remove check.FlagsOnlyTypeCheck.
The puffs-gen-foo commands might need to bounds check anyway, to e.g. generate different code paths depending on whether a u64 typed expression fits in a usize's range.
This commit is contained in:
1 parent
ae20422754
commit
6904068251
4 files changed
+14
-40
No files matched your search
@@ -97,7 +97,7 @@ func TestCheck(t *testing.T) {
|
||||
t.Fatalf("compareToPuffsfmt: %v", err)
|
||||
}
|
||||
|
||||
c, err := Check(tm, 0, file)
|
||||
c, err := Check(tm, file)
|
||||
if err != nil {
|
||||
t.Fatalf("Check: %v", err)
|
||||
}
|
||||
@@ -194,7 +194,7 @@ func TestConstValues(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
c, err := Check(tm, 0, file)
|
||||
c, err := Check(tm, file)
|
||||
if err != nil {
|
||||
t.Errorf("%q: Check: %v", s, err)
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user