Closed casperbp closed 2 years ago
According the the references (https://www.spoofax.dev/references/statix/basic-constraints/#messages):
Just as regular string literals, tabs, newlines and carriage returns can be encoded with \t, \n and \r, respectively.
However, writing \t, \n, or \r in a template literal causes a parse error. For example, the .stxtest program
resolve {} try { false } | error $[test\n test]
results in the error message at the \ token: Syntax error, expected: ']'.
\
Syntax error, expected: ']'
Version info Spoofax version: 2.6.0.20211108-110809-master Statix setup: multi-file
multi-file
According the the references (https://www.spoofax.dev/references/statix/basic-constraints/#messages):
However, writing \t, \n, or \r in a template literal causes a parse error. For example, the .stxtest program
results in the error message at the
\
token:Syntax error, expected: ']'
.Version info Spoofax version: 2.6.0.20211108-110809-master Statix setup:
multi-file