first step towards requiring #{ ... } interpolation -- removing naked interps from the compiler.

This commit is contained in:
Jeremy Ashkenas
2010-08-07 08:02:16 -04:00
parent b1f7d5e33b
commit 9df3e6a538
28 changed files with 284 additions and 300 deletions

View File

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