[analyzer] rename doesn't handle String interpolation #47521
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
devexp-refactoring
Issues with analysis server refactorings
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Rename the variable
a
toa$
The actual result is
'$a$'
, which should be'${a$}'
. This happens with both IDEs.Visual Studio Code calls the server
textDocument/rename
.IntelliJ does it by itself. I believe it should also call the server to rename.
Handling special characters was hinted in the discussion around #22038
The text was updated successfully, but these errors were encountered: