fixing allowing empty functions like () ->

This commit is contained in:
Jeremy Ashkenas
2010-02-15 18:03:00 -05:00
parent 3f6eceac77
commit e7291f57ba
4 changed files with 89 additions and 83 deletions

View File

@@ -11,6 +11,7 @@ puts y.x.name is 'x'
# The empty function should not cause a syntax error.
->
() ->
obj: {