Files
kotlin/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallNotInSubclass.java
Alexander Udalov 713c6f13ae Fix primitive override problem in Kotlin-Java inheritance
See the comment in JetTypeMapper
2013-12-30 06:41:09 +04:00

14 lines
265 B
Java

class Test {
void test() {
A<Integer> a = new B();
int ax = a.foo();
Integer ay = a.foo();
Object az = a.foo();
B b = new B();
int bx = b.foo();
Integer by = b.foo();
Object bz = b.foo();
}
}