Fixing 4.x grammar to be backward compatible.
Added 3.x unit tests back to show this.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
auto v = {1,2,3};
|
||||
auto v = [1,2,3];
|
||||
auto r = range(v);
|
||||
for_each(r, [](x) { assert_equal(true, x>0); } )
|
||||
for_each(r, fun(x) { assert_equal(true, x>0); } )
|
||||
|
Reference in New Issue
Block a user