KT-36973 Keep private default interface members private
This commit is contained in:
+15
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user