Generate unique parameter names in LocalDeclarationsLowering
This commit is contained in:
-2
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_MULTI_MODULE: JVM_IR
|
||||
// FILE: 1.kt
|
||||
// SKIP_INLINE_CHECK_IN: inlineFun$default
|
||||
package test
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
// FILE: 1.kt
|
||||
inline fun f(g: () -> String) = g()
|
||||
|
||||
// FILE: 2.kt
|
||||
class A(val x: String) {
|
||||
inner class B(val y: String) {
|
||||
fun h() = f { x + y }
|
||||
}
|
||||
}
|
||||
|
||||
fun box() = A("O").B("K").h()
|
||||
Reference in New Issue
Block a user