Fixed some error handling and weird consume logic.

This commit is contained in:
2025-09-01 12:58:45 +02:00
parent 94fc3a4dad
commit 9e0728f952
3 changed files with 27 additions and 13 deletions

6
test/for_no_iter.ink Normal file
View File

@@ -0,0 +1,6 @@
vertex main :: () {
x := 0.0;
for i : {
x += 2.0;
}
}

5
test/if_no_cond.ink Normal file
View File

@@ -0,0 +1,5 @@
vertex main :: () {
if {
}
}