rpau/javalang-compiler

resolution error for typed class parameter

Closed this issue · 0 comments

In m() the AMixin value for T is not propagated.

`
import java.util.List;

public class TypedMethod {
public interface Mixin {
}

public class AMixin implements Mixin {
public List getList() {
return null;
}
}

public T mixin(Class<? extends T> mixin) {
return null;
}

public void m() {
mixin(AMixin.class).getList().get(0);
}
}`