- Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
Description
This issue is a thread for discussing and tracking planned fixes for literal_only_boolean_expressions. The goal of this is to identify and resolve all relevant cases that require updating with a single patch.
I will continually edit this post to keep it updated with any key information related to the fix. I will also link the in-progress patch here once I have started it.
These fixes follow a prior minor fix.
Current cases to handle - provided by @bwilkerson:
- adjacent strings when some of the strings aren't constants (false positive)
- list, map, and set literals whose elements are not all constants (false positive)
- dot shorthand expressions that reference constants (false negative)
Metadata
Metadata
Assignees
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.