Closed lrytz closed 5 years ago
@raboof / @jrudolph would be really nice if someone could look into this 😊 it's on the path to getting playframework in the community build green.
I won't pretend I understand exactly what's going on here, but adding explicit parens seemed to help for me:
def date2 = rule { day ~ '-' ~ month ~ '-' ~ (digit2 ~> (y ⇒ if (y <= 69) y + 2000 else y + 1900)) }
Thanks, I will use that for now. Leaving this ticket open.
More chnages for RC1 here: https://github.com/scalacommunitybuild/akka-http/commits/community-build-2.13
I won't pretend I understand exactly what's going on here, but adding explicit parens seemed to help for me:
Maybe some precedence rules changed? Anyway the extra parens make it more readable anyway.
Maybe some precedence rules changed?
I think not, with -Xprint:parser
, the trees are the same in 2.12.8 and 2.13.0-RC1.
Moved here: https://github.com/scala/bug/issues/11516
Note that this will also hit in 2.12, I think, since the change in behavior landed in 2.13 as a merge from 2.12 (more info in ticket).
Fixed here in #2525
Check out current master (04eb7550c)
In sbt:
I got the same error on the community build (https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/2018/console).