Demo changes
This commit is contained in:
1
testdata/popbug1.monkey
vendored
Normal file
1
testdata/popbug1.monkey
vendored
Normal file
@@ -0,0 +1 @@
|
||||
let n = 2; let x = 0; while (n > 0) { if (n > 1) { x = x + 1 }; n = n - 1; }; x;
|
||||
1
testdata/popbug2.monkey
vendored
Normal file
1
testdata/popbug2.monkey
vendored
Normal file
@@ -0,0 +1 @@
|
||||
let n = 2; let x = 0; while (n > 0) { if (n > 1) { x = x + 1 }; let n = n - 1; }; x;
|
||||
1
testdata/popbug3.monkey
vendored
Normal file
1
testdata/popbug3.monkey
vendored
Normal file
@@ -0,0 +1 @@
|
||||
let x = 1; if (x == 1) { let x = 2 }
|
||||
Reference in New Issue
Block a user