Skip to content

haskell-indentation seems to have problems with underscore #547

Closed
@bmktuwien

Description

@bmktuwien

I have currently a strange problem with haskell-indentation-mode if one of the function argument identifiers contains the _ character:

foo (Foo _) = []
foo x = go x

With the code above, if I press <tab> in the second line, then I get the message Parse error.
The problem disappears if I write (Foo foo) instead of (Foo _), but this is not a solution for me, since the compiler will generate a warning if I don't use the variable.

I am using the version: 20150323.559
(Maybe this issue is related to the issue #526)

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