Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SCC pragmas (introduced in template-haskell-2.22.0.0) #202

Closed
Tracked by #191
RyanGlScott opened this issue Apr 18, 2024 · 0 comments · Fixed by #207
Closed
Tracked by #191

Add support for SCC pragmas (introduced in template-haskell-2.22.0.0) #202

RyanGlScott opened this issue Apr 18, 2024 · 0 comments · Fixed by #207

Comments

@RyanGlScott
Copy link
Collaborator

RyanGlScott commented Apr 18, 2024

template-haskell-2.22.0.0 (shipped with GHC 9.10.1) includes support for SCC pragmas:

data Pragma
  = ...
  | SCCP Name (Maybe String)
    -- ^ @{ {\-\# SCC fun "optional_name" \#-} }@

We should add a corresponding DSCCP data constructor to DPragma in th-desugar.

@RyanGlScott RyanGlScott mentioned this issue Apr 18, 2024
6 tasks
RyanGlScott added a commit that referenced this issue Apr 22, 2024
RyanGlScott added a commit that referenced this issue Apr 30, 2024
RyanGlScott added a commit that referenced this issue Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant