summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser/Errors.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Parser/Errors.hs')
-rw-r--r--compiler/GHC/Parser/Errors.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/GHC/Parser/Errors.hs b/compiler/GHC/Parser/Errors.hs
index 83812f7673..e48f04aae5 100644
--- a/compiler/GHC/Parser/Errors.hs
+++ b/compiler/GHC/Parser/Errors.hs
@@ -90,6 +90,9 @@ data PsErrorDesc
= PsErrLambdaCase
-- ^ LambdaCase syntax used without the extension enabled
+ | PsErrEmptyLambda
+ -- ^ A lambda requires at least one parameter
+
| PsErrNumUnderscores !NumUnderscoreReason
-- ^ Underscores in literals without the extension enabled