-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.dart-model-analyzer-packageIssues related to package:analyzerIssues related to package:analyzertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
This shows up in dart-archive/linter#1996 visiting a StringInterpolation.
Here's the result of a simple case with "\'$f":
node:"\'$f"
node.offset:286
element:"\'
element.offset:286
element.contentsOffset:287 // OK
element.contentsEnd:288 // KO should be 289
element.end:289 // OK
element:"
element.offset:291 // OK
element.contentsOffset:292 // KO should be 291
element.contentsEnd:292 // KO should be 291
element.end:292 // OK
pq
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.dart-model-analyzer-packageIssues related to package:analyzerIssues related to package:analyzertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)