Conversation
db800f9 to
d87ab6d
Compare
Member
Author
Member
|
Can you rebase this PR on top of #271, please? |
Member
Author
|
@lefou should already be rebased |
Member
I meant on top of |
439602f to
599c8ce
Compare
Member
Author
|
@lefou I squashesd it on top of latest master, we can use the |
lefou
requested changes
Mar 2, 2023
Member
lefou
left a comment
There was a problem hiding this comment.
The change looks good to me. But there are test failures now.
599c8ce to
609470e
Compare
lefou
approved these changes
Mar 2, 2023
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.
Fixes #261, which is caused by the whitespace
P[_] => P[Unit]implicits firing as implicit conversions rather than the implicit parameters they were originally intended to be. Since whitespace is meant to ignore failures, this caused failures caused by theFail.! : P[String]to be ignored when implicitly converted toP[Unit]The fix is to create a proper
Whitespacetrait to inherit from.Note that this is a binary incompatible change. It's stacked on top of #271 for convenience, but should probably land separately after. The relevant changes are in this commit d87ab6d if anyone wants to look.
Note that I moved the custom whitespace tests to a
scala2.12+folder to skip them on 2.11. 2.11 does not support SAM conversion, which makes defining custom whitespaces a lot more boilerplatey. Can still be done, but no need to burden everyone with boilerplatey examples just to cater for the 2.11 folks in the test suite. Things are unlikely to break just for 2.11 anyway