Skip to content

Parse error with LANGUAGE pragma #217

Closed
@ndmitchell

Description

@ndmitchell

Given:

{-# LANGUAGE
RecordWildCards
 #-}
main = print "hello"

This works in GHC, but raises a parse error in HSE. Note that #-} line is indented by one space - that's important or it's a parse error in GHC too. Originally from ndmitchell/hlint#125

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