ghci: Don't rely on resolution of System.IO to base module

Authored by bgamari on Jun 16 2019, 10:15 AM.

Description

ghci: Don't rely on resolution of System.IO to base module

Previously we would hackily evaluate a textual code snippet to compute
actions to disable I/O buffering and flush the stdout/stderr handles.
This broke in a number of ways (Trac #15336, Trac #16563).

Instead we now ship a module (GHC.GHCi.Helpers) with base containing
the needed actions. We can then easily refer to these via Orig names.

(cherry picked from commit abee907f20ec9b8465be6587b3c74df9a1d1b1a6)

Details

Committed
bgamariJun 25 2019, 1:37 PM
Parents
rGHC7ffe0681d44d: GHCi support for levity-polymorphic join points
Branches
Unknown
Tags
Unknown