| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -54/+0 | |
| 2022-11-04 | Make non-ASCII errors more consistent. | Nicholas Nethercote | -2/+2 | |
| There are three kinds of "byte" literals: byte literals, byte string literals, and raw byte string literals. None are allowed to have non-ASCII chars in them. Two `EscapeError` variants exist for when that constraint is violated. - `NonAsciiCharInByte`: used for byte literals and byte string literals. - `NonAsciiCharInByteString`: used for raw byte string literals. As a result, the messages for raw byte string literals use different wording, without good reason. Also, byte string literals are incorrectly described as "byte constants" in some error messages. This commit eliminates `NonAsciiCharInByteString` so the three cases are handled similarly, and described correctly. The `mode` is enough to distinguish them. Note: Some existing error messages mention "byte constants" and some mention "byte literals". I went with the latter here, because it's a more correct name, as used by the Reference. | ||||
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -1/+1 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-07-31 | Fix invalid suggestions for non-ASCII characters in byte constants | Fabian Wolff | -4/+6 | |
| 2021-02-03 | Handle `Span`s for byte and raw strings and add more detail | Esteban Küber | -9/+16 | |
| 2020-06-16 | Update ui tests | Guillaume Gomez | -1/+2 | |
| 2020-01-08 | Remove `-Z continue-parse-after-error` | Vadim Petrochenkov | -7/+7 | |
| 2019-05-02 | introduce unescape module | Aleksey Kladov | -3/+3 | |
| Currently, we deal with escape sequences twice: once when we lex a string, and a second time when we unescape literals. This PR aims to remove this duplication, by introducing a new `unescape` mode as a single source of truth for character escaping rules | ||||
| 2019-03-25 | compiletest: make path normalization smarter | Andy Russell | -5/+5 | |
| 2019-03-20 | Tweak incorrect escaped char diagnostic | Esteban Küber | -2/+2 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -7/+7 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -7/+7 | |
| 2018-10-21 | Move parse-fail tests to UI | Vadim Petrochenkov | -0/+44 | |
