Skip to content
  • Alex D's avatar
    Force module recompilation if '*' prefix was used to load modules in ghci (#8042) · 76d90f21
    Alex D authored and Ben Gamari's avatar Ben Gamari committed
    Usually pre-compiled code is preferred to be loaded in ghci if available, which means
    that if we try to load module with '*' prefix and compilation artifacts are available
    on disc (.o and .hi files) or the source code was untouched, the driver would think
    no recompilation is required. Therefore, we need to force recompilation so that desired
    byte-code is generated and loaded. Forcing in this case should be ok, since this is what
    happens for interpreted code anyways when reloading modules.
    76d90f21