mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Fixed continue keyword, was pointing at break's target
This commit is contained in:
11
scripts/yuki.toy
Normal file
11
scripts/yuki.toy
Normal file
@@ -0,0 +1,11 @@
|
||||
var loops = 0;
|
||||
|
||||
while (true) {
|
||||
if (++loops < 15532) {
|
||||
continue;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
assert loops == 15532, "Yuki loop failed (break + continue)";
|
||||
Reference in New Issue
Block a user