Skip to content

Remove val in for comprehension under -Xsource:2.14#6348

Merged
adriaanm merged 1 commit intoscala:2.13.xfrom
eed3si9n:wip/deprecate-val-in-for
Apr 30, 2018
Merged

Remove val in for comprehension under -Xsource:2.14#6348
adriaanm merged 1 commit intoscala:2.13.xfrom
eed3si9n:wip/deprecate-val-in-for

Conversation

@eed3si9n
Copy link
Member

The use of val keyword in for comprehension has been deprecated since 2.10.
Ref scala/bug#4918
Ref cda4650.

  1. This improves the deprecation warning
  2. This also removes it under -Xsource:2.14

The use of `val` keyword in for comprehension has been deprecated since 2.10.
Ref scala/bug#4918
Ref scala@cda4650.

1. This improves the deprecation warning
2. This also removes it under -Xsource:2.14
@scala-jenkins scala-jenkins added this to the 2.13.0-M4 milestone Feb 26, 2018
@eed3si9n eed3si9n requested a review from adriaanm March 6, 2018 03:19
@adriaanm adriaanm merged commit 82908ef into scala:2.13.x Apr 30, 2018
@SethTisue SethTisue added the release-notes worth highlighting in next release notes label Apr 30, 2018
@eed3si9n eed3si9n deleted the wip/deprecate-val-in-for branch April 30, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes worth highlighting in next release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants