Flow analysis. Reachability in case of null-aware method invocation. #60610
Labels
model-flow
Implementation of flow analysis in analyzer/cfe
type-question
A question about expected behavior or functionality
Now we have the following.
I think it's ok for now because
sound-flow-analysis
feature is not implemented yet. @stereotype441 what should we expect with this feature? I'd expect dead code warning and "Definitely unassigned" error intest1()
.I'm not sure about what expect in case of
test2()
. How flow analysis should treatif (c != null) { c?.something;}
?Dart SDK version: 3.9.0-43.0.dev (dev) (Tue Apr 22 13:03:05 2025 -0700) on "windows_x64"
The text was updated successfully, but these errors were encountered: