FIR: save/restore tower data contexts during resolve jumps
#KT-50278 Fixed
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
val x = object {
|
||||
fun foo(types: List<String>) {
|
||||
val length = "123"
|
||||
types.mapIndexed { i, length -> Triple(i, length, length.getFilteredType()) }
|
||||
}
|
||||
|
||||
private fun String.getFilteredType() = bar(length)
|
||||
}
|
||||
|
||||
fun bar(x: Int) = x
|
||||
Reference in New Issue
Block a user