Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#10220 closed bug (fixed)

Imports from `.hspp` and `.hscpp` files not loaded in --make mode

Reported by: thomie Owned by: thomie
Priority: normal Milestone: 8.0.1
Component: Driver Version: 7.8.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case: driver/T10220
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D778
Wiki Page:


This is a regression.

Change History (4)

comment:1 Changed 4 years ago by thomie

Differential Rev(s): Phab:D778
Status: newpatch

comment:2 Changed 4 years ago by Thomas Miedema <thomasmiedema@…>

In 7cec6c7b2973b34c18da1c74c87cead33bb1bfd7/ghc:

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

Reviewed By: austin

Differential Revision:

comment:3 Changed 4 years ago by thomie

Resolution: fixed
Status: patchclosed
Test Case: driver/T10220

comment:4 Changed 4 years ago by thoughtpolice


Milestone renamed

Note: See TracTickets for help on using tickets.