test cases for error rewriting

This commit is contained in:
leaf corcoran 2011-07-18 23:39:09 -07:00
parent d41d9c457c
commit 859c033cb0
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,24 @@
hello_world = false
if hello_world
print "sackman"
x = 5 + 5
print something.what
if hello_world
print 343434
print bott.dady
if not hello_world
if true
x = 5+2
x = 5+2
x = 5+2
if true
print what.heck

View File

@ -0,0 +1,18 @@
if false
true
true
true
true
print hello
else
true
true
true
true
print "hello world"
print doesnt.exist

View File

@ -0,0 +1,18 @@
if (->
print "hello world"
print "who is this")
true
true
true
true
print dead.world
print "okay now"
print "this is wrong"
print "this is wrong"
print "this is wrong"
print "this is wrong"
print "this is wrong"
print "this is wrong"
print "this is wrong"