mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
adding paren wrappers for property accesses directly on object literals
This commit is contained in:
3
test/fixtures/execution/test_literals.coffee
vendored
3
test/fixtures/execution/test_literals.coffee
vendored
@@ -37,6 +37,9 @@ money$: 'dollars'
|
||||
puts money$ is 'dollars'
|
||||
|
||||
|
||||
puts {a: (num) -> num is 10 }.a 10
|
||||
|
||||
|
||||
bob: {
|
||||
name: 'Bob'
|
||||
greet: (salutation) ->
|
||||
|
||||
Reference in New Issue
Block a user