Skip to content

Handle case lists: comma vs || #12

@quasilyte

Description

@quasilyte
// (A)
switch {
case x || y:
}
// (B)
switch {
case x, y:
}

The matcher should enter CaseClause only for expression switch statement,
and it also can trigger multiple counters for both (a) and (b) (see #2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions