d4369c1df9
Fix for KT-8668: java.lang.ClassFormatError: Duplicate field name&signature (based on property access) #KT-8668 Fixed
20 lines
297 B
Kotlin
Vendored
20 lines
297 B
Kotlin
Vendored
package test
|
|
|
|
class A {
|
|
|
|
fun callK(): String {
|
|
return "K"
|
|
}
|
|
|
|
fun callO(): String {
|
|
return "O"
|
|
}
|
|
|
|
fun testCall(): String = test { callO() }
|
|
|
|
inline fun test(crossinline l: () -> String): String {
|
|
return {
|
|
l() + callK()
|
|
}()
|
|
}
|
|
} |