Skip to content

Detection of while(TRUE) and while(FALSE)  #2106

Closed
@MEO265

Description

@MEO265

t would be handy to introduce a new linter that detects while(TRUE) constructs and suggests adopting repeat for clearer infinite loop indication. In the same linter, a feature could be developed to identify while(FALSE) constructs, signaling unreachable code or potentially as an additional feature of the existing unreachable_code_linter.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions