diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-30 18:04:08 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-30 18:49:19 +0200 |
| commit | 1ee1d078e2480ddd08d40915bc7a74a8352acff0 (patch) | |
| tree | 1e7ff367278a19fead3e404cf06d65bfb80a6cd9 /tests/typ/markup | |
| parent | 42a27b48df427edf8dbb624c51551a90ecf2e7ea (diff) | |
Fatal errors
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free
- Parsing still recovers and can produce multiple errors
- Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import)
- The single error that could occur during execution is removed for now
- Removes Value::Error variant
Diffstat (limited to 'tests/typ/markup')
| -rw-r--r-- | tests/typ/markup/escape.typ | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/typ/markup/escape.typ b/tests/typ/markup/escape.typ index b0a809f9..c039e0b7 100644 --- a/tests/typ/markup/escape.typ +++ b/tests/typ/markup/escape.typ @@ -21,14 +21,15 @@ // Escaped escape sequence. \u{41} vs. \\u\{41\} +// Some code stuff in text. +let f() , ; : | + - /= == 12 "string" + +--- // Unicode codepoint does not exist. // Error: 1-11 invalid unicode escape sequence \u{FFFFFF} +--- // Unterminated. // Error: 6 expected closing brace \u{41*Bold* - ---- -// Some code stuff in text. -let f() , ; : | + - /= == 12 "string" |
