Remove -Xnormalize-constructor-calls

Constructor call normalization is enabled by default since 1.3.
This commit is contained in:
Alexander Udalov
2021-09-02 02:09:18 +02:00
parent cc3ad73436
commit 1864716c83
36 changed files with 83 additions and 400 deletions
@@ -1,4 +1,3 @@
// !LANGUAGE: -NormalizeConstructorCalls
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FILE: test.kt
@@ -13,7 +12,7 @@ fun box(): String {
}
val result = log.toString()
if (result != "<clinit>ij<init>") return "Fail: '$result'"
if (result != "ij<clinit><init>") return "Fail: '$result'"
return "OK"
}
@@ -37,4 +36,4 @@ class Foo(i: Int, j: Int) {
log.append("<clinit>")
}
}
}
}