You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
The unit () syntax has been in Scala for too long to be able to remove it now without causing too much confusion. The trailing comma provides a good unambiguous shorthand.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trailing comma support is incomplete. Python allows statements such as
The scala/scala3#9049 changes
Tuple
instantiation, toIt would be nice if it was allowed to write
instead. That would require to force
()
to beUnit
with-scala2compat
flag OR/AND migrate()
to{}
in cross-compiled codebases.If that's not possible I'd vote for.
CCing @nicolasstucki who is implementing the current changes.
The text was updated successfully, but these errors were encountered: