Skip to content

Commit

Permalink
fix a mistake in the recent commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed Oct 28, 2024
1 parent 35eedaa commit 9e458eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GHC/SourceGen/Overloaded.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import GHC.Hs
#endif
)
#if MIN_VERSION_ghc(9,10,0)
import GHC.Parser.Annotation (AnnList (..), AnnParen (AnnParen), ParenType (AnnParens))
import GHC.Parser.Annotation (AnnList (..), AnnParen (AnnParen), ParenType (AnnParens), noAnn)
#endif
#if MIN_VERSION_ghc(9,0,0)
import GHC.Types.Basic (Boxity(..))
Expand Down Expand Up @@ -296,7 +296,7 @@ instance HasList HsExpr' where

instance HasList Pat' where
#if MIN_VERSION_ghc(9,10,0)
list = ListPat emptyAnnList . map builtPat
list = ListPat noAnn . map builtPat
#elif MIN_VERSION_ghc(8,6,0)
list = withEpAnnNotUsed ListPat . map builtPat
#else
Expand Down

0 comments on commit 9e458eb

Please sign in to comment.