Skip to content

Empty case/when block causes crash #221

@esb

Description

@esb

Consider

case type
  when 1
    # Do nothing
  when 2
    total += 1
end

The empty when causes an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions