Skip to content
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

No warn when discarding r.f(): r.type #5393

Merged
merged 1 commit into from Oct 21, 2016

Conversation

som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Sep 10, 2016

The paradigm is def add(x: X): Unit = listBuffer += x.

The value that is discarded is not new information.

Also cleans up the recent tweaks to help messaging.

Adds newlines in case they ask for multiple helps.

This commit is also a test whether warnings and help
fall under documentation tweaks which don't require
a tracking issue. That doesn't mean the tweak can't
crash the compiler.

The paradigm is `def add(x: X): Unit = listBuffer += x`.

The value that is discarded is not new information.

Also cleans up the recent tweaks to help messaging.

Adds newlines in case they ask for multiple helps.
@scala-jenkins scala-jenkins added this to the 2.12.1 milestone Sep 10, 2016
@lrytz
Copy link
Member

lrytz commented Oct 21, 2016

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants