driver: Ensure we actually clear the interactive context before reloading
Previously we called discardIC, but immediately after set the session back to an old HscEnv that still contained the IC Partially addresses #24107 Fixes #23405
Showing
- compiler/GHC/Driver/Make.hs 1 addition, 1 deletioncompiler/GHC/Driver/Make.hs
- testsuite/tests/ghci/T23405/T23405.hs 11 additions, 0 deletionstestsuite/tests/ghci/T23405/T23405.hs
- testsuite/tests/ghci/T23405/T23405.script 3 additions, 0 deletionstestsuite/tests/ghci/T23405/T23405.script
- testsuite/tests/ghci/T23405/all.T 1 addition, 0 deletionstestsuite/tests/ghci/T23405/all.T
Loading
Please register or sign in to comment