allow multiline comment inside of an object definition [Fixes #3761]

use more CoffeeScript syntax
This commit is contained in:
Nick Doiron
2015-01-23 19:39:26 -05:00
parent 68c0e2dc0f
commit dc44ebbdaa
3 changed files with 13 additions and 0 deletions

View File

@@ -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