KT-36973 Keep private default interface members private

This commit is contained in:
Dmitry Petrov
2020-03-18 12:22:42 +03:00
parent 1c24a97b9e
commit dd27b3d4f1
12 changed files with 74 additions and 5 deletions
@@ -0,0 +1,4 @@
interface A {
private fun foo() {}
private val x get() = 1
}
@@ -0,0 +1,11 @@
@kotlin.Metadata
public final class A$DefaultImpls {
inner class A$DefaultImpls
private static method foo(p0: A): void
private static method getX(p0: A): int
}
@kotlin.Metadata
public interface A {
inner class A$DefaultImpls
}