-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Dotty uses SIP-12 syntax in output and input #4599
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
Comments
What is the status of this ticket? I've seen in syntax doc that |
@SzymonPajzert Exactly. We have been busy, but we should certainly remove the syntax (both from the pretty-printer and the parser) to honor the SIP decision. |
I'll would ask @odersky first, before removing anything. I've seen him use the syntax in some of our tests |
So while SIP-12 was rejected for Scala 2, Martin would still like to revive it. (checked with him today). |
So I'm putting the issue on hold with |
No problem, 356 to go |
Uh oh!
There was an error while loading. Please reload this page.
I noticed in a #4563 comment that
RefinedPrinter
only uses SIP-12 syntax in output, even tho that SIP was rejected. That syntax is also accepted in input, which would still be a problem for tool authors trying to support Dotty. I couldn't dig any mention of SIP-12 in the commit logs (but only triedgit log -S SIP-12
andgit log -G SIP-12
).Apparently the SIP was born in 2011 and only rejected in 2016 (https://docs.scala-lang.org/sips/minutes/2016-08-16-sip-10th-august-minutes.html), so it shouldn't be surprising this is still in.
Example using
while...do
:The text was updated successfully, but these errors were encountered: