[GHC] #10220: Imports from `.hspp` and `.hscpp` files not loaded in --make mode
#10220: Imports from `.hspp` and `.hscpp` files not loaded in --make mode -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Driver | Version: 7.8.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- This is a regression. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10220> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10220: Imports from `.hspp` and `.hscpp` files not loaded in --make mode -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: bug | Status: patch Priority: normal | Milestone: 7.12.1 Component: Driver | Version: 7.8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D778 -------------------------------------+------------------------------------- Changes (by thomie): * status: new => patch * differential: => Phab:D778 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10220#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10220: Imports from `.hspp` and `.hscpp` files not loaded in --make mode -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: bug | Status: patch Priority: normal | Milestone: 7.12.1 Component: Driver | Version: 7.8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D778 -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"7cec6c7b2973b34c18da1c74c87cead33bb1bfd7/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="7cec6c7b2973b34c18da1c74c87cead33bb1bfd7" Change which files --make thinks are 'Haskellish' (#10220) `.hspp` and `.hscpp` are haskell files that have already been preprocessed. Treat `.hspp` and `.hscpp` as Haskellish sources again, as they were before commit a10e1990. This way, ghc --make will load their imports. Make sure that `.cmm` and `.cmmcpp` are still not treated as Haskellish, by moving them out of `haskell_src_suffixes` (but still keeping them in haskellish_suffixes, though I'm not sure what the purpose of that group is). Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D778 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10220#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10220: Imports from `.hspp` and `.hscpp` files not loaded in --make mode -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Driver | Version: 7.8.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | driver/T10220 | Blocking: | Differential Revisions: Phab:D778 -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => closed * testcase: => driver/T10220 * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10220#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC