Flow analysis. In a do-while loop an assignment in while
after break
is dead code
#60361
Labels
area-dart-model
For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.
fe-analyzer-shared-flow-analysis
model-flow
Implementation of flow analysis in analyzer/cfe
type-question
A question about expected behavior or functionality
UPD. Seems that according to the #42232 (comment) the below is not an issue but an expected behavior. Please confirm.
The code below produces no compile-time errors in either CFE or the analyzer.
cc @stereotype441
Dart SDK version: 3.8.0-197.0.dev (dev) (Sat Mar 15 17:07:22 2025 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered: