Skip to content

Fix #4226: allow infallible boolean extractors to return true #4236

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

Merged
merged 3 commits into from
Apr 11, 2018

Conversation

liufengyun
Copy link
Contributor

Fix #4226: allow infallible boolean extractors to return true

@@ -0,0 +1,15 @@
sealed abstract class Maybe[A]
Copy link
Member

Choose a reason for hiding this comment

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

Is it really useful to have the same test in pos and patmat? Aren't the patmat tests also fully compiled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, let's remove it. I was thinking more in terms of features.

Copy link
Contributor

@OlivierBlanvillain OlivierBlanvillain left a comment

Choose a reason for hiding this comment

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

LGTM!

@liufengyun liufengyun merged commit c756919 into scala:master Apr 11, 2018
@liufengyun liufengyun deleted the fix-4226 branch April 11, 2018 11:57
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.

3 participants