[FE 1.0] Report warning about conflict in inherited members from deserialized dependencies
^KT-51194 ^KT-51223 Fixed
This commit is contained in:
committed by
teamcity
parent
c6994768d7
commit
0eb526a8b4
@@ -0,0 +1,29 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// ISSUE: KT-51194
|
||||
|
||||
// MODULE: coreLib_1
|
||||
// FILE: Base.java
|
||||
public interface Base {
|
||||
Object foo();
|
||||
}
|
||||
|
||||
// MODULE: lib(coreLib_1)
|
||||
// FILE: Derived.java
|
||||
public abstract class Derived implements Base {
|
||||
@Override
|
||||
public Object foo() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// MODULE: coreLib_2
|
||||
// FILE: Base.java
|
||||
public interface Base {
|
||||
<T> T foo();
|
||||
}
|
||||
|
||||
// MODULE: main(coreLib_2, lib)
|
||||
// FILE: main.kt
|
||||
class Implementation : Derived()
|
||||
|
||||
fun box() = "OK"
|
||||
Reference in New Issue
Block a user