mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Check the for-loop condition has boolean type.
This commit is contained in:
1 parent
c3c600627b
commit
87dcd9ed55
2 files changed
+7
-1
No files matched your search
@@ -59,6 +59,9 @@ func TestCheck(t *testing.T) {
|
||||
b = not true
|
||||
|
||||
y = x as i32
|
||||
|
||||
for x > 0 {
|
||||
}
|
||||
}
|
||||
`) + "\n"
|
||||
|
||||
|
||||
Reference in new issue
Block a user