Inline method sometimes fails with string interpolation #52340
Labels
analyzer-refactoring
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
Inline method doesn't work well when a parameter is referenced in a string interpolation. For example, given
Iinlining both invocations of the method
g
producesThe interpolation of the parameter needs to be enclosed in a braces unless the replacement is a simple identifier.
The text was updated successfully, but these errors were encountered: