Fixed synthetic properties for method inherited from two bases
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
interface A {
|
||||
String getOk();
|
||||
}
|
||||
|
||||
interface B {
|
||||
String getOk();
|
||||
}
|
||||
|
||||
interface C extends A, B {
|
||||
}
|
||||
|
||||
class JavaClass implements C {
|
||||
public String getOk() { return "OK"; }
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun box(): String {
|
||||
return f(JavaClass())
|
||||
}
|
||||
|
||||
fun f(c: C) = c.ok
|
||||
Reference in New Issue
Block a user