Fir2Ir: simplify getCachedIrTypeParameter

I could not figure out the reason for the special case in that function.
Tests do not show anything useful.
This commit is contained in:
Georgy Bronnikov
2022-04-26 09:13:25 +03:00
committed by Alexander Udalov
parent e504d9faed
commit 3a4b8962f9
8 changed files with 57 additions and 23 deletions
@@ -0,0 +1,13 @@
// MODULE: lib
// FILE: 1.kt
var <T> T.prop: Int
get() = 33
set(value) {}
// MODULE: main(lib)
// FILE: 2.kt
fun <T> setProp(t: T, v: Int) {
t.prop = v
}
fun box() = "OK"