Skip to content

Backport !8133 to ghc-9.4

Ryan Scott requested to merge wip/backport-MR8133 into ghc-9.4

This backports !8133 (closed) to the ghc-9.4, thereby closing #21463 (closed) for good. Here is the original commit message:


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 (closed)

Merge request reports