[GHC] #10220: Imports from `.hspp` and `.hscpp` files not loaded in --make mode
GHC
ghc-devs at haskell.org
Wed Apr 1 17:25:06 UTC 2015
#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
More information about the ghc-tickets
mailing list