Skip to content

Cannot parse comma-separated guards #11

@konn

Description

@konn

hi2 cannot parse comma-separated guards.

For example, if I tap TAB at the next line to False | False, True -> print True, hi2 raises parse error:

main :: IO ()
main = case True of
  False | False, True -> print True

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions