We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d59a3c5 commit 6420c22Copy full SHA for 6420c22
test_programs/r4/1.lox
@@ -2,5 +2,5 @@
2
expected_error_type: none
3
---
4
var a = "value";
5
-var a = a;
+var a = a; // global scope, so this is allowed
6
print a; // expect: value
test_programs/r5/1.lox
@@ -1,3 +1,4 @@
1
-expected_error_type: none
+expected_error_type: compile
+return "foo";
test_programs/r6/2.lox
@@ -1,6 +1,6 @@
-expected_error_type: compile
+expected_error_type: runtime
-print a; // expect: compile error
+print a; // expect: runtime error
0 commit comments