-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Exactprint plugins for 9.8 #3973
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look plausible, would be nice to get the last few tests sorted!
@@ -703,7 +703,11 @@ typeWildCardActionTests = testGroup "type wildcard actions" | |||
[ "func :: _" | |||
, "func x y = x + y" | |||
] | |||
#if MIN_VERSION_ghc(9,7,0) | |||
[ "func :: a -> a -> a" -- 9.8 has a different suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems kind of bad, is this an upstream regression?
cf59f50
to
6f60029
Compare
I have no idea what the failing test is testing for or why it is desirable. It seems require that we don't suggest adding a import Data.List.NonEmpty ()
f = nonEmpty |
I see, it wants us to not suggest adding a new import, instead we should suggest extending the existing import. All the tests have been fixed locally now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you figured out what the test is asking for based on the comment? Or is there still a question?
Great, thanks for tracking that down! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as for Splice Plugin, Thanks!
4daa5ff
to
3c89823
Compare
Yeah, it seems like we can use |
Still a build failure in the gadt tests |
…gin (#3979) * Fix -Wall and -Wunused-packages in call-hierarchy plugin * Make tests more uniform
6cd05e3
to
c728986
Compare
* Exactprint plugins for 9.8 * Fix last test * comments * fix borked cpp * Don't use CPP in refactor plugin tests * Fix -Wall, -Wunused-packages and hlint warnings in call-hierarchy plugin (haskell#3979) * Fix -Wall and -Wunused-packages in call-hierarchy plugin * Make tests more uniform * accept func test differences * Run tests for 9.8 plugins in CI * Fix another test --------- Co-authored-by: Jan Hrcek <2716069+jhrcek@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
I ran out of steam fixing this refactor plugin test:
Perhaps someone else would like to have a look?