Altered bound functions with do to just use call(this) rather than binding.

This commit is contained in:
Timothy Jones
2010-10-25 00:18:54 +13:00
parent d096f69c78
commit 9619fa66eb
5 changed files with 23 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ grammar =
]
Do: [
o "DO Code", -> new Call $2, $2.params
o "DO Code", -> $2.do()
]
# The **Code** node is the function literal. It's defined by an indented block