Explicitly catch common errors (trying to escape line breaks, badly escaping interpolations) to provide better messages and user guidance for these cases. Change-Id: I3dd1b2ad3bca33be393e65be5e72f4fb9544a46a
10 lines
140 B
Nix
10 lines
140 B
Nix
''
|
|
''\a''\n
|
|
''\f''\{''\$''\"''\'''\r''\v''\\''\t
|
|
''\'''${"x"}
|
|
'''
|
|
''${interpolation}
|
|
''\${bad interpolation 1}
|
|
$''\{bad interpolation 2}
|
|
''
|