mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
Fix for KT-8668: java.lang.ClassFormatError: Duplicate field name&signature (based on property access) #KT-8668 Fixed
18 lines
332 B
Kotlin
Vendored
18 lines
332 B
Kotlin
Vendored
import test.*
|
|
|
|
fun box(): String {
|
|
val param = "start"
|
|
var result = "fail"
|
|
inlineFun("1") { c ->
|
|
{
|
|
inlineFun("2") { a ->
|
|
{
|
|
result = param + c + a
|
|
}()
|
|
}
|
|
}()
|
|
}
|
|
|
|
return if (result == "start12") "OK" else "fail: $result"
|
|
}
|