diff options
Diffstat (limited to 'compiler/GHC/Hs/Utils.hs')
-rw-r--r-- | compiler/GHC/Hs/Utils.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Hs/Utils.hs b/compiler/GHC/Hs/Utils.hs index c32ec443af..d53fc51786 100644 --- a/compiler/GHC/Hs/Utils.hs +++ b/compiler/GHC/Hs/Utils.hs @@ -1235,7 +1235,7 @@ class UnXRec p => CollectPass p where instance IsPass p => CollectPass (GhcPass p) where collectXXPat _ flag ext = case ghcPass @p of - GhcPs -> noExtCon ext + GhcPs -> dataConCantHappen ext GhcRn | HsPatExpanded _ pat <- ext -> collect_pat flag pat |