diff options
Diffstat (limited to 'compiler/GHC/Parser/Errors/Types.hs')
-rw-r--r-- | compiler/GHC/Parser/Errors/Types.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/GHC/Parser/Errors/Types.hs b/compiler/GHC/Parser/Errors/Types.hs index d75c223253..38c54b7149 100644 --- a/compiler/GHC/Parser/Errors/Types.hs +++ b/compiler/GHC/Parser/Errors/Types.hs @@ -395,6 +395,9 @@ data PsMessage -- TODO: embed the proper operator, if possible | forall infixOcc. (OutputableBndr infixOcc) => PsErrParseRightOpSectionInPat !infixOcc !(PatBuilder GhcPs) + -- | Illegal linear arrow or multiplicity annotation in GADT record syntax + | PsErrIllegalGadtRecordMultiplicity !(HsArrow GhcPs) + newtype StarIsType = StarIsType Bool -- | Extra details about a parse error, which helps |