Fix -fno-code for modules that use -XQuasiQuotes
In commit 53c78be0 object code is generated for modules depended on by modules that use -XTemplateHaskell. This turns the same logic on for modules that use -XQuasiQuotes. A test is added. Note that I've based this of D3646, as it has a function I want to use. Test Plan: ./validate Reviewers: austin, bgamari, alexbiehl Reviewed By: alexbiehl Subscribers: alexbiehl, rwbarton, thomie GHC Trac Issues: #13863 Differential Revision: https://phabricator.haskell.org/D3677
Showing
- compiler/main/GHC.hs 1 addition, 10 deletionscompiler/main/GHC.hs
- compiler/main/GhcMake.hs 1 addition, 1 deletioncompiler/main/GhcMake.hs
- compiler/main/HscTypes.hs 18 additions, 0 deletionscompiler/main/HscTypes.hs
- testsuite/tests/quasiquotation/T13863/A.hs 8 additions, 0 deletionstestsuite/tests/quasiquotation/T13863/A.hs
- testsuite/tests/quasiquotation/T13863/B.hs 7 additions, 0 deletionstestsuite/tests/quasiquotation/T13863/B.hs
- testsuite/tests/quasiquotation/T13863/all.T 1 addition, 0 deletionstestsuite/tests/quasiquotation/T13863/all.T
Loading
Please register or sign in to comment