No dead code warnings in variable initializers #49701
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
Given the following code:
I would expect to see the
4
's marked as dead code, but the aren't. They do get marked if you place the last line inside a top-level function.The text was updated successfully, but these errors were encountered: