6296f6dc33
Those descriptors may be empty in case user made a mistake and tried to delegate implementation of abstract class instead of interface (and we don't add functions from abstract class to overriden descriptors of fake overrides in case of delegation by) #KT-40510 Fixed
15 lines
232 B
Kotlin
Vendored
15 lines
232 B
Kotlin
Vendored
// ISSUE: KT-40510
|
|
|
|
// FILE: foo/A.java
|
|
package foo;
|
|
|
|
public abstract class A {
|
|
// package-private
|
|
abstract void foo();
|
|
}
|
|
|
|
// FILE: main.kt
|
|
import foo.A
|
|
|
|
class DelegatedA(val a: A) : <!DELEGATION_NOT_TO_INTERFACE!>A<!> by a
|