Skip to content

ghc -E -XCPP generated preprocessing output file (.hspp) changes from previous version

Summary

In previous version ghc -E -XCPP used to copy the hscpp file in temp folder as output. Now it copied only the .hs file with a header line added. Is that change unintentionally introduced? If yes, details are as below.

This commit may relate to this issue.

Steps to reproduce

ghc -E -v -XCPP src.hs

src.hs main = return ()

Expected behavior

previous output(8.10.2)

*** Copying `tempfolder\ghc_1.hscpp' to src.hspp':

current output (9.3.20210917)

*** Copying `src.hs' to src.hspp':

Edited by CarrieMY
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information