summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser/PostProcess.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2020-06-01 23:20:19 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2020-06-01 23:20:19 +0100
commit372da668e8a570f4ffb0020adb67e8c9fbf3d728 (patch)
tree5358163b0f08f196f6b02ffb5d6db4f3a5b45796 /compiler/GHC/Parser/PostProcess.hs
parent78b4c82c30d28e3eb11d05beaee1a03267661482 (diff)
downloadhaskell-wip/T18126-deep.tar.gz
Improving error messageswip/T18126-deep
Diffstat (limited to 'compiler/GHC/Parser/PostProcess.hs')
-rw-r--r--compiler/GHC/Parser/PostProcess.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Parser/PostProcess.hs b/compiler/GHC/Parser/PostProcess.hs
index c0afde8242..1557a867b7 100644
--- a/compiler/GHC/Parser/PostProcess.hs
+++ b/compiler/GHC/Parser/PostProcess.hs
@@ -2005,7 +2005,7 @@ patSynErr item l e explanation =
explanation
; return (L l hsHoleExpr) }
-hsHoleExpr :: HsExpr (GhcPass id)
+hsHoleExpr :: HsExpr GhcPs
hsHoleExpr = HsUnboundVar noExtField (mkVarOcc "_")
-- | See Note [Ambiguous syntactic categories] and Note [PatBuilder]