summaryrefslogtreecommitdiff
path: root/compiler/GHC/Tc/Module.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-01-27 18:03:27 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-30 14:13:41 -0500
commita3d995fa18079ac31623febc8f41297c9acfb6a5 (patch)
treefecfdd90fe8e491573ee119d05f17c27c0acc55c /compiler/GHC/Tc/Module.hs
parent69cab37ae89db16cfd0b734d7fc657e56402a255 (diff)
downloadhaskell-a3d995fa18079ac31623febc8f41297c9acfb6a5.tar.gz
Fix -dynamic-too with wired-in modules (#19264)
See T19264 for a tricky corner case when explicitly importing GHC.Num.BigNat and another module. With -dynamic-too, the FinderCache contains paths for non-dynamic interfaces so they must be loaded first, which is usually the case, except for some interfaces loaded in the backend (e.g. in CorePrep). So we must run the backend for the non-dynamic way first for -dynamic-too to work as it is but I broke this invariant in c85f4928d4dbb2eb2cf906d08bfe7620d6f04ca5 by mistakenly making the backend run for the dynamic way first.
Diffstat (limited to 'compiler/GHC/Tc/Module.hs')
0 files changed, 0 insertions, 0 deletions