[FIR] Fix resolve inside lambda
The lambda is passed to extension function with type parameters that defined inside this lambda ^KT-52197 ^KT-52190 Fixed
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_STDLIB
|
||||
// ISSUE: KT-52190
|
||||
|
||||
fun box(): String {
|
||||
buildMap {
|
||||
val replaced = put("key", "value")
|
||||
if (replaced != null) {
|
||||
return "Error: $replaced"
|
||||
}
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user