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

Use "ghc" library in place of "haskell-src". #248

Merged
merged 10 commits into from
May 12, 2024
Merged

Use "ghc" library in place of "haskell-src". #248

merged 10 commits into from
May 12, 2024

Conversation

j6carey
Copy link
Collaborator

@j6carey j6carey commented May 2, 2024

The "ghc" library is now used to parse and print Haskell source code.
Switching to "ghc" adds support for language features beyond Haskell 98
and improves diagnostic messages for sources specified with
"--extraInstanceFile". Breakage should be limited to users of:

  • Proto3.Suite.DotProto.Generate
  • Proto3.Suite.DotProto.Generate.LargeRecord
  • Proto3.Suite.DotProto.Generate.Syntax

To reflect the potential for breakage
we increase the library version to 0.8.0.

This change also replaces testing of
GHC 8.10.7 with testing of GHC 9.6.2
and GHC 9.8.1, and indicates in
CHANGELOG.md that we are dropping
support for GHC 8.10 and adding
support for GHC 9.6.

This change also fixes some build failures that
occurred when Swagger support is disabled,
and expands the flag combinations to all the
ones currently supported.

Support for dhall and large-records is limited
in more recent versions of GHC due to
problems with building those dependencies.

The "ghc" library is now used to parse and print Haskell source code.
Switching to "ghc" adds support for language features beyond Haskell 98
and improves diagnostic messages for sources specified with
"--extraInstanceFile".  Breakage should be limited to users of:

* Proto3.Suite.DotProto.Generate
* Proto3.Suite.DotProto.Generate.LargeRecord
* Proto3.Suite.DotProto.Generate.Syntax

To reflect the potential for breakage
we increase the library version to 0.8.0.

This change also replaces testing of
GHC 8.10.7 with testing of 9.6.4,
and indicates in CHANGELOG.md that
we are dropping support for GHC 8.10
and adding support for GHC 9.6.

This change also fixes some build failures that
occurred when Swagger support is disabled.
@j6carey j6carey requested a review from riz0id May 2, 2024 23:02
Copy link
Collaborator

@riz0id riz0id left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@j6carey j6carey merged commit bec9d40 into master May 12, 2024
78 checks passed
@j6carey j6carey deleted the jcarey-use-ghc branch May 12, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants