Skip to content

return_linter() should allow switch() where every entry has an exit call #2343

Description

@MichaelChirico
          @MichaelChirico I don't think we should give a lint here. In my opinion this is a false positive, as there is no way an implicit return is given.

My first implementation handled this accordingly. Maybe we could do that again.

Originally posted by @MEO265 in #2271 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    false-positivecode that shouldn't lint, but does

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions