Skip to content

Refine purity check #2837

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 1 commit into from
Jul 10, 2017
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 6, 2017

Refine "a pure expression does nothing in statement position" warning.
It should not be issued if the expression has type Unit. Otherwise ()
will trigger a warning.

Refine "a pure expression does nothing in statement position" warning.
It should not be issued if the expression has type Unit. Otherwise `()`
will trigger a warning.
@odersky odersky requested a review from felixmulder July 6, 2017 11:29
@DarkDimius
Copy link
Contributor

LGTM

@DarkDimius DarkDimius merged commit b8edc55 into scala:master Jul 10, 2017
@allanrenucci allanrenucci deleted the change-purity-check branch December 14, 2017 16:58
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.

2 participants