summaryrefslogtreecommitdiff
path: root/compiler/GHC/StgToJS/Rts/Types.hs
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2023-03-23 18:35:20 +0100
committersheaf <sam.derbyshire@gmail.com>2023-03-29 13:57:33 +0200
commit4f1940f05a9c0353ed12afe12a547a01878abd15 (patch)
treed5f6f6920232f7aa13e23abbfffe57c40efe7636 /compiler/GHC/StgToJS/Rts/Types.hs
parent3f374399e2dbebcdfe5bc31f94fc502b46d0cf4f (diff)
downloadhaskell-4f1940f05a9c0353ed12afe12a547a01878abd15.tar.gz
Avoid repeatedly shadowing in shadowNames
This commit refactors GHC.Type.Name.Reader.shadowNames to first accumulate all the shadowing arising from the introduction of a new set of GREs, and then applies all the shadowing to the old GlobalRdrEnv in one go.
Diffstat (limited to 'compiler/GHC/StgToJS/Rts/Types.hs')
0 files changed, 0 insertions, 0 deletions