[GHC] #16047: Incorrect hscTarget in DynFlags when building hs-boot files

GHC ghc-devs at haskell.org
Fri Dec 14 05:28:15 UTC 2018


#16047: Incorrect hscTarget in DynFlags when building hs-boot files
-------------------------------------+-------------------------------------
           Reporter:  osa1           |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.7
           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:
-------------------------------------+-------------------------------------
 We don't generate code for hs-boot files, but currently `hscTarget` field
 of `DynFlags` does not reflect that and we see `HscAsm` etc. when building
 boot files. I think we should see `HscNothing` instead.

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


More information about the ghc-tickets mailing list