Skip to content

False positive no-unreachable #104

@wcjohnson

Description

@wcjohnson

screen shot 2018-10-01 at 7 49 14 pm

Minimum test case looks like:

match 1:
  | else: throw 2

3

This is a problem with the linter's CodePathAnalyzer, which can't be overridden by plugins. It's seeing the throw and not realizing it's in a separate code path.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions