[GHC] #15369: GHCi doesn't honor ':set +c' when loading, for a second time, a file that has .hi/.o

GHC ghc-devs at haskell.org
Sun Nov 25 13:38:49 UTC 2018


#15369: GHCi doesn't honor ':set +c' when loading, for a second time, a file that
has .hi/.o
-------------------------------------+-------------------------------------
        Reporter:  dramforever       |                Owner:  RolandSenn
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:  make test
                                     |  TEST=T15369
      Blocked By:                    |             Blocking:
 Related Tickets:  #15085            |  Differential Rev(s):  Phab:D5376
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RolandSenn):

 * status:  new => patch
 * testcase:   => make test TEST=T15369
 * differential:   => Phab:D5376
 * related:   => #15085


Comment:

 @dramforever: The patch in Phab:D5376 only recollects the type information
 if the timestamp of the source (.hs) file has changed. The patch fixes the
 error in the compairson.
 Please note, if you don't change the file then GHCi has no reason to
 recollect. However, if you change the file, GHCi will now recollect!

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


More information about the ghc-tickets mailing list