[GHC] #8198: One-shot mode is buggy w.r.t. hs-boot files

GHC ghc-devs at haskell.org
Wed Nov 13 09:43:58 UTC 2013


#8198: One-shot mode is buggy w.r.t. hs-boot files
-------------------------------------------------+-------------------------
        Reporter:  parcs                         |            Owner:  parcs
            Type:  bug                           |           Status:  new
        Priority:  normal                        |        Milestone:  7.8.1
       Component:  Driver                        |          Version:  7.7
      Resolution:                                |         Keywords:
Operating System:  Unknown/Multiple              |     Architecture:
 Type of failure:  Incorrect warning at          |  Unknown/Multiple
  compile-time                                   |       Difficulty:
       Test Case:                                |  Unknown
        Blocking:                                |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

Comment (by simonmar):

 ooh, inline diffs. Funky.

 It's not true that "every location in the finder cache corresponds to a
 module's source files only".  In one-shot mode, the finder cache is full
 of locations that only have `.hi` files.  See `findHomeModule`, and
 `hi_exts`.

 I think we should be calling `mkHiOnlyModLocation` here, because in one-
 shot mode that is what is normally used to create `ModLocation`s that go
 in the finder cache.

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


More information about the ghc-tickets mailing list