Skip to content

switch-case-default over switch-when-else #785

Closed
@satyr

Description

@satyr

Before

switch a
  when b
    foo()
  when c, d
    bar()
  else
    baz()

After

switch a
case b
  foo()
case c, d
  bar()
default
  baz()

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions