Skip to content

Commit

Permalink
resolve name conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed Nov 5, 2024
1 parent 203947a commit 73179ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GHC/SourceGen/Decl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ newOrDataType newOrData name vars conDecls derivs
where
mkDataDefnCon NewType [decl] = NewTypeCon $ mkLocated decl
mkDataDefnCon NewType _ = error "NewTypeCon with more than one decl"
mkDataDefnCon DataType conDecls = DataTypeCons False (map mkLocated conDecls)
mkDataDefnCon DataType decls = DataTypeCons False (map mkLocated decls)
#elif MIN_VERSION_ghc(9,4,0)
withEpAnnNotUsed DataDecl (typeRdrName $ unqual name)
(mkQTyVars vars)
Expand Down

0 comments on commit 73179ff

Please sign in to comment.