[GHC] #14963: ghci -fdefer-type-errors can't run IO action from another module

GHC ghc-devs at haskell.org
Fri Mar 23 16:01:40 UTC 2018


#14963: ghci -fdefer-type-errors can't run IO action from another module
-------------------------------------+-------------------------------------
        Reporter:  elaforge          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.4.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 I must be doing something wrong here. I created a file named `Bug.hs` with
 the contents of comment:2, and tried loading it like so:

 {{{
 $ ~/Software/ghc-8.4.1/bin/ghci -fdefer-type-errors -ignore-dot-ghciGHCi,
 version 8.4.1: http://www.haskell.org/ghc/  :? for help
 Prelude> :load Bug
 [1 of 1] Compiling Main             ( Bug.hs, interpreted )
 Ok, one module loaded.
 }}}

 Which appears to work without issue. What am I missing?

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


More information about the ghc-tickets mailing list