mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
allow multiline comment inside of an object definition [Fixes #3761]
use more CoffeeScript syntax
This commit is contained in:
@@ -418,3 +418,12 @@ test "#3638: Demand a whitespace after # symbol", ->
|
||||
"""
|
||||
|
||||
eq CoffeeScript.compile(input, bare: on), result
|
||||
|
||||
test "#3761: Multiline comment at end of an object", ->
|
||||
anObject =
|
||||
x: 3
|
||||
###
|
||||
#Comment
|
||||
###
|
||||
|
||||
ok anObject.x is 3
|
||||
|
||||
Reference in New Issue
Block a user