[FIR] Don't create redundant substitution scopes

This commit is contained in:
Mikhail Glukhikh
2020-02-20 12:09:12 +03:00
parent 01053c938a
commit a6d11b0207
9 changed files with 12 additions and 10 deletions
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun t1 () {
val a1 = arrayOfNulls<String>(1)
a1[0] = "0" //ok
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
class A<in I>(init_o: I, private val init_k: I) {
private val o: I = init_o
private fun k(): I = init_k