fixing parens-around-implicit-function-with-multiline-chained-chaser bug

This commit is contained in:
Jeremy Ashkenas
2010-04-01 23:38:20 -04:00
parent 3605168e85
commit 1c628e7883
3 changed files with 16 additions and 3 deletions

View File

@@ -128,3 +128,12 @@ combine: (func, num) -> func() * num
result: combine (-> 1 + 2), 3
ok result is 9
# Test for calls/parens/multiline-chains.
f: (x) -> x
result: (f 1).toString()
.length
ok result is 1