FIR: save/restore tower data contexts during resolve jumps

#KT-50278 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-12-20 17:28:04 +03:00
committed by Space
parent f3f63a458b
commit 1938438fa1
6 changed files with 67 additions and 0 deletions
@@ -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