Fixes Issue #618. Close implicit arguments in the middle of param lists.

This commit is contained in:
Jeremy Ashkenas
2010-08-16 21:19:34 -04:00
parent 5b9b45814f
commit 474c372b17
3 changed files with 14 additions and 3 deletions

View File

@@ -152,6 +152,13 @@ ok obj.a is 1
ok obj.b is 2
# Implicit objects may close in the middle of argument lists.
result = null
func = (one, two) -> result = two
func a: 1, b: 2, 3, 4
ok result is 3
# Implicit objects nesting.
obj =
options: