Skip to content

Conversation

@liufengyun
Copy link
Contributor

Fix #3543: compare extractor with TermRef instead of MethodType

@allanrenucci
Copy link
Contributor

If there is no check file, the tests expect that the compiler emit not warning?


xs match {
case Yes(x) :: ls => println("Yes")
case No(y) :: ls => println("No") // unreachable code
Copy link
Contributor

Choose a reason for hiding this comment

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

I would remove the comment


xs match {
case No() :: ls => println("No")
case Yes() :: ls => println("Yes") // unreachable code
Copy link
Contributor

Choose a reason for hiding this comment

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

I would remove the comment

@liufengyun
Copy link
Contributor Author

@allanrenucci Yes, if there's no check file, there should be no warning.

@nicolasstucki nicolasstucki merged commit 7fa8a93 into scala:master Nov 24, 2017
@liufengyun liufengyun deleted the fix-3543 branch November 24, 2017 14:27
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