[warning] UNUSED_LOCAL_VARIABLE false negative #59582
Labels
analyzer-warning
Issues with the analyzer's Warning codes
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
there is no warning but it should indicate
The value of the local variable 'i' isn't used. Try removing the variable or using it.
because it's used to update itself and
i
is not used elsewherewhile with
i += 1;
it act correctlyThe text was updated successfully, but these errors were encountered: