• Thomas Schilling's avatar
    Force recompilation of BCOs when they were compiled in HscNothing mode. · 5e0453ca
    Thomas Schilling authored
    Previously, loading a set of modules in HscNothing mode and then
    switching to HscInterpreted could lead to crashes since modules
    compiled with HscNothing were thought to be valid bytecode objects.
    This patch forces recompilation in these cases, hence switching between
    HscNothing and HscInterpreted should be safe now.
GHC.hs 96.2 KB