[GHC] #14482: GHC -M mode fails to ensure that boot files are built before source files

GHC ghc-devs at haskell.org
Fri Nov 17 22:11:49 UTC 2017


#14482: GHC -M mode fails to ensure that boot files are built before source files
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.4.1
          Component:  Compiler       |           Version:  8.2.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Imagine we have a module with a boot file. In general it is necessary to
 ensure that we compile the boot file *before* the source file to ensure
 that the `hi-boot` file exists when we go to typecheck the module
 (triggering the behavior observed in #14481). However, `ghc -M` doesn't
 guarantee this.

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


More information about the ghc-tickets mailing list