[K/N] Fix: Ignore bridge functions in FunctionReferenceLowering

^KT-59858
This commit is contained in:
Dmitriy Dolovov
2023-07-04 18:20:33 +02:00
committed by Space Team
parent f3833fdcf8
commit 8aacdb471b
17 changed files with 109 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
// MODULE: A
// FILE: A.kt
interface Base {
fun f() : Any
}
fun interface Child : Base {
override fun f() : Int
}
// MODULE: B(A)
// FILE: B.kt
fun box(): String {
if (Child { 10 }.f() != 10) return "FAIL"
return "OK"
}