Fix primitive override problem in Kotlin-Java inheritance

See the comment in JetTypeMapper
This commit is contained in:
Alexander Udalov
2013-12-25 19:39:57 +04:00
parent 2ea62bde23
commit 713c6f13ae
26 changed files with 358 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
class ExtendsB extends B {
@Override
public Integer foo() {
return 239;
}
void test() {
int x = foo();
Integer y = foo();
Object z = foo();
}
}