Confusing error location for mismatched string curlies #13736
Labels
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
Given the following code with mismatch {}'s in the string:
void main() {
var i = 0;
print('foo ${i');
}
dart2js gives the error:
squigly_error.dart:3:13: unmatched '{'
void main() {
I would expect it to report the error for the print statement, not for the main() method.
The text was updated successfully, but these errors were encountered: