[FIR] Adapt positioning of NO_VALUE_FOR_PARAMETER to match K1

This commit is contained in:
Kirill Rakhman
2023-06-23 13:05:49 +02:00
committed by Space Team
parent 6d1d6e48c1
commit 5abab2197b
42 changed files with 70 additions and 194 deletions
@@ -3,7 +3,7 @@ open class B0(x: Int)
class A0 : B0 {
<!EXPLICIT_DELEGATION_CALL_REQUIRED!>constructor()<!>
constructor(x: Int) : <!NO_VALUE_FOR_PARAMETER!>super()<!>
constructor(x: Int) : super<!NO_VALUE_FOR_PARAMETER!>()<!>
}
// --------------------------
@@ -1,6 +0,0 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class A {
constructor(x: Int)
}
val x = <!NO_VALUE_FOR_PARAMETER!>A()<!>
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_PARAMETER
class A {
constructor(x: Int)