Skip to content
  • Douglas Wilson's avatar
    Fix -fno-code for modules that use -XQuasiQuotes · d55bea14
    Douglas Wilson authored and Ben Gamari's avatar Ben Gamari committed
    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
    d55bea14