[K/N] Fix: Ignore bridge functions in FunctionReferenceLowering
^KT-59858
This commit is contained in:
committed by
Space Team
parent
f3833fdcf8
commit
8aacdb471b
+16
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user