Generate unique parameter names in LocalDeclarationsLowering
This commit is contained in:
@@ -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