Questions on null_check_on_nullable_type_parameter #58666
Labels
area-devexp
Developer experience items (DevTools, IDEs, analysis server, completions, refactorings, ...).
devexp-linter
Issues with the analyzer's support for the linter package
linter-false-negative
linter-set-core
P2
A bug or feature request we're likely to work on
type-question
A question about expected behavior or functionality
I was looking at test cases in order to implement a quick fix for
null_check_on_nullable_type_parameter
but came across some test cases that surprised me.Future<T>
/await p!
:This case does not generate a lint report, but I expected it would.
List<T>
/[p!]
:This case also does not generate a lint report, but I expected it would.
Stream<T>
/yield p!
:This case also does not generate a lint report, but I expected it would.
The text was updated successfully, but these errors were encountered: