Over-long lists in the compiler
A debug build of the compiler shows the following warnings while building stage2:
WARNING:
Over-long elem in unionLists
Call stack:
CallStack (from HasCallStack):
warnPprTrace, called at compiler/GHC/Data/List/SetOps.hs:200:19 in ghc:GHC.Data.List.SetOps
isIn, called at compiler/GHC/Data/List/SetOps.hs:66:5 in ghc:GHC.Data.List.SetOps
unionLists, called at compiler/GHC/Types/Avail.hs:319:43 in ghc:GHC.Types.Avail
WARNING:
Over-long elem in unionLists
Call stack:
CallStack (from HasCallStack):
warnPprTrace, called at compiler/GHC/Data/List/SetOps.hs:200:19 in ghc:GHC.Data.List.SetOps
isIn, called at compiler/GHC/Data/List/SetOps.hs:66:5 in ghc:GHC.Data.List.SetOps
unionLists, called at compiler/GHC/HsToCore/Pmc/Solver/Types.hs:461:15 in ghc:GHC.HsToCore.Pmc.Solver.Types
We shouldn't use lists for sets