mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
tests for #1513
This commit is contained in:
parent
2fb2ddb9b4
commit
f3253f4f5c
1 changed files with 4 additions and 0 deletions
|
@ -233,3 +233,7 @@ test "#1322: implicit call against implicit object with block comments", ->
|
|||
x: 2
|
||||
### y ###
|
||||
y: 3
|
||||
|
||||
test "#1513: Top level bare objs need to be wrapped in parens for unary and existence ops", ->
|
||||
doesNotThrow -> CoffeeScript.run "{}?", bare: true
|
||||
doesNotThrow -> CoffeeScript.run "{}.a++", bare: true
|
||||
|
|
Loading…
Add table
Reference in a new issue