Browse Source

update test files

pull/12/head
mtardy 4 years ago
parent
commit
df0be7d4f7
3 changed files with 10 additions and 10 deletions
  1. +4
    -1
      test-proto.txt
  2. +6
    -0
      test-runtime-error.txt
  3. +0
    -9
      test3.txt

+ 4
- 1
test-proto.txt View File

@ -1,4 +1,7 @@
fun println() { apply(print, __arguments__); print("\n"); }
fun println() {
apply(print, __arguments__);
print("\n");
}
var Object = { __name__: #"Object" };

+ 6
- 0
test-runtime-error.txt View File

@ -0,0 +1,6 @@
2;
12;
(3*null);
a = {}
a.piz = fun f() {continue;}
`invoke(a, (a.piz), {})

+ 0
- 9
test3.txt View File

@ -1,9 +0,0 @@
var num = `4; // THESE ARE THE
var ast = `(3+@num); // IMPORTANT 2 LINES
fun f() {
var c = `4+3
return 5 + @c
}
f()

Loading…
Cancel
Save