[GHC] #15336: ./System/IO.hs accidentally overridden when running ghci

GHC ghc-devs at haskell.org
Fri Jul 6 03:55:28 UTC 2018


#15336: ./System/IO.hs accidentally overridden when running ghci
-------------------------------------+-------------------------------------
        Reporter:  luqui             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  GHCi              |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Indeed this is quite unfortunate. I believe the cause is the Haskell-
 syntax `import`s that GHCi injects at the beginning of its execution (see
 `GHCi.UI.initInterpBuffering`). I suppose we'll need a more principled way
 to accomplish this.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15336#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list