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

GHC ghc-devs at haskell.org
Thu Nov 7 00:25:52 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 parcs):

 Replying to [comment:4 simonmar]:
 > shouldn't we set `ml_hs_file` to `Nothing` in this case, rather than
 assuming that it is in the same location as the `hs-boot` file?

 I think that's a fair assumption since we already assume that hi-
 boot/o-boot files are in the same directory as their corresponding hi/o
 files.

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


More information about the ghc-tickets mailing list