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.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Sat, Jun 22, 9:06 AM
Parents
rGHCe0595d22ce5b: testsuite: Mark T16608_* as fragile on Darwin
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC655c6e265e06: ghci: Don't rely on resolution of System.IO to base module (authored by bgamari).Sat, Jun 22, 9:06 AM