fix: replace foreign Meta.eval with primitive and suppress compile errors in wrenCompile

This commit is contained in:
Bob Nystrom
2015-04-04 04:22:58 +00:00
parent 103b9a133b
commit d92a8f1c93
12 changed files with 282 additions and 228 deletions
+1
View File
@@ -0,0 +1 @@
Meta.eval("!!") // expect runtime error: Could not compile source code.
+1
View File
@@ -0,0 +1 @@
Meta.eval(123) // expect runtime error: Source code must be a string.