[GHC] #14103: Retypechecking the loop in --make mode is super-linear when there are many .hs-boot modules

GHC ghc-devs at haskell.org
Sun Aug 13 16:48:58 UTC 2017


#14103: Retypechecking the loop in --make mode is super-linear when there are many
.hs-boot modules
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
      Resolution:                    |             Keywords:  hs-boot
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 ezyang):

 I would say, go for it. I suspect the weird behavior niteria describes was
 unintentional (or intentional, but only in the sense that it is easier to
 implement) and you can probably simplify it a lot. But do note that if the
 set of modules that gets retypechecked *changes*, that could introduce a
 bug. But there is some code in between getModLoop and the actual
 retypechecking...

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


More information about the ghc-tickets mailing list