We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
http://dotty.epfl.ch/docs/reference/contextual/extension-methods.html says:
If an extension method has type parameters, they come immediately after the def and are followed by the extended parameter.
But in fact they're also accepted after the method name:
scala> def (x: A) foo[A]: A = x def foo[A](x: A): A scala> def [A] (x: A) foo: A = x def foo[A](x: A): A
@odersky: I assume this is a remnant of a previous syntax and not intentional?
The text was updated successfully, but these errors were encountered:
yes indeed. We need to drop that syntax
Sorry, something went wrong.
ffe859e
Merge pull request #9093 from dotty-staging/fix-#9091
c9a4196
Fix #9091: Drop deprecated extension method syntax
No branches or pull requests
http://dotty.epfl.ch/docs/reference/contextual/extension-methods.html says:
But in fact they're also accepted after the method name:
@odersky: I assume this is a remnant of a previous syntax and not intentional?
The text was updated successfully, but these errors were encountered: