Skip to content

literal_only_boolean_expressions has false positives #34181

@Hixie

Description

@Hixie

I tried turning on literal_only_boolean_expressions in flutter but the only things it flagged were false positives, mostly while (true) loops (Dart doesn't have an "infinite loop" construct) and for loops where the middle condition is true (similar).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions