Skip to content

Parser does not allow combination of function guards and case guards #3443

Description

@natefaubion
test a
  | false =
      case false of
        true | a > 12 -> true
  | otherwise = true

This fails to parse on otherwise with

Unable to parse module: expecting indentation past column 9

Activity

  1. natefaubion commented on Oct 12, 2018

    @natefaubion
    ContributorAuthor

    This can be worked around by adding parens around the case.

  2. added this to the 1.0 milestone on Oct 12, 2018
  3. added a commit that references this issue on May 7, 2019
    a46864e
  4. added a commit that references this issue on May 7, 2019
    315759e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions