mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-19 03:44:23 -05:00
Fixes Issue #618. Close implicit arguments in the middle of param lists.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user