Fixing 4.x grammar to be backward compatible.

Added 3.x unit tests back to show this.
This commit is contained in:
Jonathan Turner
2012-05-17 10:14:50 -07:00
parent 4674594ee7
commit c73f16fdfe
211 changed files with 1769 additions and 86 deletions

View File

@@ -1,2 +1,2 @@
assert_throws("Mismatched types in equation, lhs is const.", []() { 1 = 2 } );
assert_throws("Mismatched types in equation, lhs is const.", []() { 1 + 2 = 2 } );
assert_throws("Mismatched types in equation, lhs is const.", fun() { 1 = 2 } );
assert_throws("Mismatched types in equation, lhs is const.", fun() { 1 + 2 = 2 } );