False positive avoid_print
warning after if (!kDebugMode) { return; }
#147447
Labels
r: invalid
Issue is closed as not valid
What package does this bug report belong to?
flutter_lints
What target platforms are you seeing this bug on?
Linux
Have you already upgraded your packages?
Yes
Dependency versions
pubspec.lock
Steps to reproduce
flutter create -t app demo_false_positive_avoid_print
main.dart
:flutter analyze lib --fatal-infos --fatal-warnings
Expected results
Actual results
Code sample
Apply the code change above or use the repo here: https://github.com/realth000/demo_false_positive_avoid_print
Screenshots or Videos
Screenshots / Video demonstration
2.
Logs
None
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: