Short circuits are now functioning correctly, resolved #73

This commit is contained in:
2023-08-06 04:28:02 +10:00
parent cfec1b6911
commit f885fdaf4c
12 changed files with 199 additions and 45 deletions

13
scripts/test.toy Normal file
View File

@@ -0,0 +1,13 @@
fn doA() {
print "doA()";
return true;
}
fn doB() {
print "doB()";
return true;
}
if (doA() || doB()) {
print "success";
}