Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve unterminated string interpolation error
Before, the error span would point to the whole string: >>> {x} {1" error: while parsing ┌─ <input:16>:1:1 │ 1 │ "{x} {1" │ ^^^^^^^^ Unterminated {...} interpolation in this string Now it only points to the unfinished interpolation: >>> "{x} {1" error: while parsing ┌─ <input:2>:1:6 │ 1 │ "{x} {1" │ ^^ Unterminated string interpolation
- Loading branch information