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
Support named arguments when calling Java #5896
Comments
Imported From: https://issues.scala-lang.org/browse/SI-5896?orig=1 |
@lrytz said (edited on Jun 11, 2012 7:22:00 AM UTC): i agree that we should have a better error message. |
@paulp said: |
@OlegYch said: |
@paulp said: |
@paulp said: |
I've renamed the ticket, given http://openjdk.java.net/jeps/118, and since I agree that ignoring isn't a good idea |
Is this ticket for more than this?
|
oh, fixed by scala/scala#4735 in 2.12.0 👍 |
sadly, as a comment on that PR says, "the Java standard library isn't compiled with -parameters" 😞 |
This seems needlessly uncooperative:
It would be great to do all the named/positional business in those situations where we can obtain the names of java method parameters; but failing that, at least it doesn't have to stop me from documenting the call in a situation where it would compile fine with the unlabeled arguments.
The text was updated successfully, but these errors were encountered: