Skip to content

Parse list of strings in WARNING and DEPRECATED pragmas #367

@phischu

Description

@phischu

GHC parses the following:

{-# DEPRECATED f ["f is deprecated","use g instead"] #-}
f :: a -> a
f x = x

But HSE fails with:

ParseFailed (SrcLoc "Warnings.hs" 1 18) "Parse error: ["

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions