Inline method produces incorrect code #19801
Labels
analyzer-refactoring
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Given this ...
void main() {
print(message);
}
String message() => "Hello, World!";
... when I inline the "message" method, it produces incorrect code
void main() {
print(() => "Hello, World!";);
}
The text was updated successfully, but these errors were encountered: