-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Syntax change for wildcards and type lambas #4223
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
I agree, it would be great if we could do this. But how to get from here to there? We'd need to
It seems each step requires a major release, and we cannot compress the schedule. Furthermore, it's difficult even to get started on that path because of the conflicts with kind projector. So I don't think we can take the first step with 2.13. Or maybe add it under |
Ignoring kind-projector for now (mainly just 'cos my brain is nearly off and I need to sleep), could we not just do steps 2-4 in a single major release and provide a rewrite rule? I don't think it's unreasonable amount of change for a major release especially if the migration can be trivially automated. And if not 2.13 (which I wasn't considering anyway TBH), it wouldn't be a problem to do in Dotty before 1.0 and its backwards-compatibility becomes set, would it? |
Duplicate of #2041 |
The problem is cross-building. You can't support new and old versions with the same source then. |
Currently we have:
Looking outside a little we see that:
?
_
to be used in place of an lambda argsIt would be nice to make this consistent at the type level like the following:
The text was updated successfully, but these errors were encountered: