Skip to content
  • Matthew Pickering's avatar
    template-haskell: Fix representation of OPAQUE pragmas · 0415449a
    Matthew Pickering authored and Marge Bot's avatar Marge Bot committed
    There is a mis-match between the TH representation of OPAQUE pragmas and
    GHC's internal representation due to how OPAQUE pragmas disallow phase
    annotations. It seemed most in keeping to just fix the wired in name
    issue by adding a special case to the desugaring of INLINE pragmas
    rather than making TH/GHC agree with how the representation should look.
    
    Fixes #21463
    0415449a