Switch get_function to default to not doing object lookup. Correct method eval to maintain method lambda syntax. Add unit test for method lambda
This commit is contained in:
3
unittests/method_lambda.chai
Normal file
3
unittests/method_lambda.chai
Normal file
@@ -0,0 +1,3 @@
|
||||
var addit = fun(x, y) { return x+y }
|
||||
|
||||
print(3.addit(4))
|
Reference in New Issue
Block a user