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

GHC 9.2.4 preparations #4504

Merged
merged 3 commits into from
Oct 12, 2022
Merged

GHC 9.2.4 preparations #4504

merged 3 commits into from
Oct 12, 2022

Conversation

newhoggy
Copy link
Contributor

@newhoggy newhoggy commented Oct 4, 2022

These changes move the code towards ghc-9.2.4 compatibility.

@@ -381,7 +381,6 @@ newtype CurrentEpochState era = CurrentEpochState (Shelley.EpochState (ShelleyLe

decodeCurrentEpochState
:: forall era. Ledger.Era (ShelleyLedgerEra era)
=> Share (Core.TxOut (ShelleyLedgerEra era)) ~ Interns (Shelley.Credential 'Shelley.Staking (Ledger.Crypto (ShelleyLedgerEra era)))
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, what prompted this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ghc-9.2.4 flagged that as an unused constrained and given that it compiles with ghc-8.10.7 flagging it as unused is correct.

@@ -123,7 +123,6 @@ library
, async-extras
, bimap
, blaze-html
, blaze-markup
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@newhoggy
Copy link
Contributor Author

newhoggy commented Oct 4, 2022

I've verified the Windows CI build failures are unrelated to this PR:

@newhoggy
Copy link
Contributor Author

newhoggy commented Oct 4, 2022

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 4, 2022
4504: GHC 9.2.4 preparations r=newhoggy a=newhoggy

These changes move the code towards `ghc-9.2.4` compatibility.

Co-authored-by: John Ky <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 4, 2022

This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried.

Additional information:

{"message":"Waiting on code owner review from MarcFontaine, cleverca22, deepfire, denisshevchenko, fmaste, jutaro, and/or mgmeier.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

Copy link
Contributor

@MarcFontaine MarcFontaine left a comment

Choose a reason for hiding this comment

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

LGTM Thanks

@newhoggy
Copy link
Contributor Author

newhoggy commented Oct 5, 2022

Squashed commits as requested.

@newhoggy
Copy link
Contributor Author

newhoggy commented Oct 5, 2022

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 5, 2022
4504: GHC 9.2.4 preparations r=newhoggy a=newhoggy

These changes move the code towards `ghc-9.2.4` compatibility.

Co-authored-by: John Ky <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 5, 2022

Timed out.

@newhoggy
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 11, 2022
4504: GHC 9.2.4 preparations r=newhoggy a=newhoggy

These changes move the code towards `ghc-9.2.4` compatibility.

Co-authored-by: John Ky <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 11, 2022

Build failed:

* Type application symbol @ should not be followed with space
* Operators must be separated by spaces
* Bang pattern symbol ! must not be followed by space
* Use type applications to disambguate use of show
* Qualified import for Data.List to avoid ambiguity
* Don't hide import of option.  Use qualified import of Options.Applicative instead.
* Use of $ operator should be followed by whitespace because $( is extrictly for TemplateHaskell
* Add missing type signature of top level function
* Qualified import of Data.Text.Lazy
@newhoggy
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 12, 2022
4504: GHC 9.2.4 preparations r=newhoggy a=newhoggy

These changes move the code towards `ghc-9.2.4` compatibility.

Co-authored-by: John Ky <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 12, 2022

This PR was included in a batch that successfully built, but then failed to merge into master. It will not be retried.

Additional information:

{"message":"Waiting on code owner review from deepfire and/or denisshevchenko.","documentation_url":"https://docs.github.com/articles/about-protected-branches"}

@deepfire
Copy link
Contributor

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 12, 2022

Build succeeded:

@iohk-bors iohk-bors bot merged commit 17bbfb7 into master Oct 12, 2022
@iohk-bors iohk-bors bot deleted the node/ghc-9.2.4-preparations branch October 12, 2022 14:01
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.

7 participants