Add failing lambda test with bind variable

This commit is contained in:
Jason Turner 2015-03-21 19:52:03 -06:00
parent 9963933f51
commit c416ca1e4d

View File

@ -1,2 +1,6 @@
auto bob = fun(x) { x + 1 }
assert_equal(4, bob(3));
var y=3
auto bob2 = fun[y](x) { x + y }
assert_equal(7, bob2(4))