Skip to content

Please indent all output lines from a {# fun ... #} to match the input indentation, to allow it in a where clause #45

Closed
@ian-ross

Description

@ian-ross

Bug imported from C2HS Trac

Trac ticket created: 2012-07-04T10:27:06-0700


I tried to declare a {# fun ... #} in a where clause, but only the first line had the proper indentation, causing GHC to complain that "The type signature for `foo' lacks an accompanying binding" (because only the type signature appeared within the where clause). Please consider indenting all lines of a {# fun ... #} to match the input indentation, so that this works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions