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
+15
View File
@@ -0,0 +1,15 @@
// IGNORE_BACKEND_FIR: JVM_IR
// FILE: kt36973.kt
import other.*
class C : IFoo
fun box() = C().foo()()
// FILE: IFoo.kt
package other
interface IFoo {
fun foo() = { bar() }
private fun bar() = "OK"
}