Make strict-inference
and strict-raw-types
report as error
instead of warning
#59928
Labels
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-question
A question about expected behavior or functionality
I enabled strict type check as per the Flutter documentation in my codebase. However, I found out that not all of them reports as error.
strict-casts
will be reported as error, which is wanted behaviour.However,
strict-inference
andstrict-raw-types
will only report aswarning
in flutter analyze.Is there any way to make
strict-inference
andstrict-raw-types
report aserror
instead ofwarning
?The text was updated successfully, but these errors were encountered: