mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-05 08:31:31 +00:00
Light classes: generate ACC_STATIC for DefaultImpls classes
To provide consistency between light classes and their delegates
IdeLightClass#testExtendingInterfaceWithDefaultImpls still failing since
we do not generate implementations delegating to DefaultImpls of superinterfaces
This commit is contained in:
@@ -2,11 +2,11 @@ public interface B extends p.A {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
java.lang.String b();
|
||||
|
||||
final class DefaultImpls {
|
||||
static final class DefaultImpls {
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static java.lang.String b(p.B $this) { /* compiled code */ }
|
||||
|
||||
@org.jetbrains.annotations.NotNull
|
||||
public static java.lang.String a(p.B $this) { /* compiled code */ }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user