diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-27 19:46:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-27 19:46:07 +0200 |
| commit | b2295375f8addf205d528de3dd4d72bf3e9a29c1 (patch) | |
| tree | 99757f068dcb9a1be1822517359e2541a27ef6ea /tests/rustdoc-js-std/parser-slice-array.js | |
| parent | df8852a93453cd1ce7449a08db2ad7e265d4ef3f (diff) | |
| parent | e81a5c65d9b254e625b96dfc756f1695ee1824ed (diff) | |
| download | rust-b2295375f8addf205d528de3dd4d72bf3e9a29c1.tar.gz rust-b2295375f8addf205d528de3dd4d72bf3e9a29c1.zip | |
Rollup merge of #117212 - clubby789:fix-ternary-recover, r=compiler-errors
Properly restore snapshot when failing to recover parsing ternary If the recovery parsed an expression, then failed to eat a `:`, it would return `false` without restoring the snapshot. Fix this by always restoring the snapshot when returning `false`. Draft for now because I'd like to try and improve this recovery further. Fixes #117208
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions
