We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As reported in #3273 (comment):
tail /tmp/Test.java sandbox/client.scala ; javac -d /tmp /tmp/Test.java && scalac -cp /tmp sandbox/client.scala && ./bin/dotc -classpath /tmp sandbox/client.scala ==> /tmp/Test.java <== class Test { static abstract class A<X> extends B { abstract B foo(); } static abstract class B<X> { abstract A bar(); } } ==> sandbox/client.scala <== class Client { val a = (_: Test.A[AnyRef]).foo val b = (_: Test.B[AnyRef]).bar def test(x: Test.A[AnyRef]): Test.B[_] = x } -- [E007] Type Mismatch Error: sandbox/client.scala:4:43 ----------------------- 4 | def test(x: Test.A[AnyRef]): Test.B[_] = x | ^ | found: Test.A[AnyRef](x) | required: Test.B[_] | one error found
The text was updated successfully, but these errors were encountered:
Fixed by #3317.
Sorry, something went wrong.
No branches or pull requests
As reported in #3273 (comment):
The text was updated successfully, but these errors were encountered: