Fix ghci crash when starting with -fno-implicit-import-qualified

Authored by watashi on Dec 17 2018, 10:35 PM.

Description

Fix ghci crash when starting with -fno-implicit-import-qualified

ghci -fno-implicit-import-qualified didn't start with error message:

GHCi, version 8.6.2: http://www.haskell.org/ghc/  :? for help

<interactive>:1:6: error:
    Not in scope: ‘System.IO.hSetBuffering’
        No module named ‘System.IO’ is imported.

...

This change fixes it and update test T2452 to cover this.

Test Plan:

TEST=T2452 make accept

harbormaster build runs

Reviewers: simonmar, bgamari, RyanGlScott

Reviewed By: simonmar

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5452

Details

Committed
bgamariDec 17 2018, 10:36 PM
Reviewer
simonmar
Differential Revision
D5452: Fix ghci crash when starting with -fno-implicit-import-qualified
Parents
rGHCed69f8bd1fd4: gitlab-ci: Fix spelling of GIT_SUBMODULE_STRATEGY
Branches
Unknown
Tags
Unknown