Closed
Description
Compiler version
3.4.2
Minimized code
public class Foo {
private String java;
public java.lang.Integer test() {
return null;
}
}
Output
-- [E008] Not Found Error: test/files/pos/t11788/Foo.java:4:13 -------------------------------------------------------------------------------------------------
4 | public java.lang.Integer test() {
| ^^^^^^^^^
| value lang is not a member of String
1 error found
Expectation
Forward port of scala/bug#11788 which is fixed.
This is a typer issue, so maybe it's not worth supporting.
May be worth fixing eventually with other low-prio Java mixed-mode bugs.