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

#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

#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 Resolution: | Keywords: 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 bgamari): Are you seeing some adverse effect due to the current setting of `hscTarget`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16047#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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 Resolution: | Keywords: 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 osa1): Yes, I can't use `hscTarget` reliably in my code but it's sometimes incorrect. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16047#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC