mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 18:44:56 -05:00
first step towards requiring #{ ... } interpolation -- removing naked interps from the compiler.
This commit is contained in:
@@ -55,17 +55,17 @@ ok a is 'more"than"one"quote'
|
||||
val = 10
|
||||
|
||||
a = """
|
||||
basic heredoc #val
|
||||
basic heredoc #{val}
|
||||
on two lines
|
||||
"""
|
||||
|
||||
b = '''
|
||||
basic heredoc #val
|
||||
basic heredoc #{val}
|
||||
on two lines
|
||||
'''
|
||||
|
||||
ok a is "basic heredoc 10\non two lines"
|
||||
ok b is "basic heredoc \#val\non two lines"
|
||||
ok b is "basic heredoc \#{val}\non two lines"
|
||||
|
||||
|
||||
a = '''here's an apostrophe'''
|
||||
|
||||
Reference in New Issue
Block a user