Accept implicit _, implicit (x: Int) in lambdas, like Scala 3 does#10327
Accept implicit _, implicit (x: Int) in lambdas, like Scala 3 does#10327SethTisue merged 1 commit intoscala:2.13.xfrom
implicit _, implicit (x: Int) in lambdas, like Scala 3 does#10327Conversation
c05c1ba to
1d368bd
Compare
|
@som-snytt PR title says "update spec", but I see parser changes. is it refactoring/cleanup? or did the behavior change? |
|
I'm also unclear on the exact relationship between this and #10320? Are they conceptually part of the same change, or is this one mergeable even if the other one is delayed, or what? |
|
@SethTisue the other PR deprecates lack of parens; this PR accepts more parens (!) which should not break anything and helps cross-compiling with dotty. |
4bbcc9b to
d50b823
Compare
|
Squash and rebase. |
|
Just when you think it couldn't get interesting, the Travis failure is not the spec build. It says ENV is 8 but |
|
IIUC, that's the default Java version before we switch using sdkman. If you open the sdkman section (https://app.travis-ci.com/github/scala/scala/jobs/598130110 line 235) you see another |
|
@lrytz thanks I will look my time tomorrow (here it is still yesterday). As I wrote to Seth, I hope not to waste your time with Scala 2 PRs you are not paid to review. |
|
Not at all, you're rather doing our our job for us :) |
implicit _, implicit (x: Int) in lambdas, like Scala 3 does
Bring syntax in line with Scala 3 by enabling what you might already expect to work. The goal is to improve cross-building as noted at scala/scala3#14365.
Follow-up to scala/bug#3672