mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
fixing allowing empty functions like () ->
This commit is contained in:
@@ -11,6 +11,7 @@ puts y.x.name is 'x'
|
||||
|
||||
# The empty function should not cause a syntax error.
|
||||
->
|
||||
() ->
|
||||
|
||||
|
||||
obj: {
|
||||
|
||||
Reference in New Issue
Block a user