extract method does not work with implicit return at the end #59959
Labels
analyzer-refactoring
analyzer-server
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
extract method by selecting all the code in between the braces {}
Selected statements contain a return statement, but not all possible execution flows exit. Semantics may not be preserved.
just add a return at the end and the code works.
the extraction should work without the return at the end
The text was updated successfully, but these errors were encountered: