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:
Jonathan Turner
2009-08-21 20:05:05 +00:00
parent c539e0b458
commit 7e5b7cbd7a
4 changed files with 25 additions and 12 deletions

View File

@@ -0,0 +1,3 @@
var addit = fun(x, y) { return x+y }
print(3.addit(4))