Skip to content

Fix #651 Generalize criterion for isOpAssign #661

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 2 commits into from
Jun 16, 2015

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 15, 2015

Methods like + can have multiple parameters. In that case
+= also takes multiple parameters.

Review by @DarkDimius

Methods like + can have multiple parameters. In that case
+= also takes multiple parameters.
@@ -139,7 +139,8 @@ object Test extends dotty.runtime.LegacyApp {

def setTest(empty: => Set[String]): Unit = {
var s = empty + "A" + "B" + "C"
s += ("D", "E", "F")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this modification intentional? it makes thus test not cover += operation

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, that was an oversight.

Changes were made by accident.
DarkDimius added a commit that referenced this pull request Jun 16, 2015
Fix #651 Generalize criterion for isOpAssign
@DarkDimius DarkDimius merged commit 78fae11 into scala:master Jun 16, 2015
@allanrenucci allanrenucci deleted the fix/#651-opassign branch December 14, 2017 19:21
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