[FIR JS] KT-51740: Alter positioning of NO_VALUE_FOR_PARAMETER

This commit is contained in:
Nikolay Lunyak
2022-09-23 12:20:09 +03:00
parent 418c530820
commit fcd3e4f4c5
101 changed files with 340 additions and 248 deletions
@@ -3,7 +3,7 @@ open class B0(x: Int)
class A0 : B0 {
<!EXPLICIT_DELEGATION_CALL_REQUIRED!>constructor()<!>
constructor(x: Int) : super(<!NO_VALUE_FOR_PARAMETER!>)<!>
constructor(x: Int) : super<!NO_VALUE_FOR_PARAMETER!>()<!>
}
// --------------------------
@@ -0,0 +1,6 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
class A {
constructor(x: Int)
}
val x = <!NO_VALUE_FOR_PARAMETER!>A()<!>
@@ -1,7 +1,6 @@
// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_PARAMETER
class A {
constructor(x: Int)
}
val x = A(<!NO_VALUE_FOR_PARAMETER!>)<!>
val x = A<!NO_VALUE_FOR_PARAMETER!>()<!>