[GHC] #11596: ghci gets confused if a file is deleted

GHC ghc-devs at haskell.org
Wed Feb 17 21:57:39 UTC 2016


#11596: ghci gets confused if a file is deleted
-------------------------------------+-------------------------------------
        Reporter:  NeilMitchell      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.1-rc2
      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 NeilMitchell):

 > I reload and it says everything is fine. I try to run and it fails.

 Sorry, I should have been clearer - the above bit is the problem. It
 should complain that the module is missing when you {{{:reload}}}, rather
 than claiming everything is loaded correctly and failing at runtime.

 The fact you can recover from that state is indeed desirable, and an
 improvement over #9648.

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


More information about the ghc-tickets mailing list