Repository navigation
Highlight OPAQUE pragma - #275
Merged
Merged
Conversation
Collaborator
|
Ah sorry, that documentation is completely outdated. I'll update it. The procedure these days is to add a test to |
Contributor
Author
|
Sorry, I'm afraid I cannot use That's because Bash on macOS is quite old: |
sheaf
force-pushed
the
hightlight-opaque-pragma
branch
from
August 11, 2026 10:54
03dc513 to
1369ccc
Compare
sheaf
approved these changes
Aug 11, 2026
Collaborator
|
Thank you for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/pragmas.html#opaque-pragma
For changes related to the grammar
Please add a test case.
For changes to regular Haskell code simply add a new section to
test/syntax-examples/test.hs.Make sure your case has a descriptive comment about what it is covering.
When adding foreign definitions, i.e. embeddings, add a new test file for the embedding in
question.
Add your changes to the
CHANGELOG.mdfile, ideally with a reference to the issue the PR isfixing. Also feel free to credit yourself there.