Skip to content

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