Broken type inference - (list ?? anotherList) should be inferred as iterable #26079
Labels
closed-duplicate
Closed in favor of an existing report
legacy-area-analyzer
Use area-devexp instead.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
(list ?? anotherList)
is inferred as EfficientLength which is not iterable so the following snippet results in an analyzer warning:as does
but the analyzer can be appeased by
Ideally all 3 of these cases should work with no warnings.
The text was updated successfully, but these errors were encountered: