[FIR] Report deprecations on deprecated super constructor calls

#KT-57350 Fixed
This commit is contained in:
Kirill Rakhman
2023-04-06 11:39:08 +02:00
committed by Space Team
parent b253a3a47e
commit 206fad4256
7 changed files with 23 additions and 14 deletions
@@ -22,10 +22,12 @@ public class B extends A {
}
// FILE: C.kt
class C @Deprecated("") constructor(s: String) {
open class C @Deprecated("") constructor(s: String) {
}
// FILE: use.kt
class D : <!DEPRECATION!>C<!>("")
fun use(a: A, b: B, c: C) {
<!DEPRECATION!>A<!>(3)
A("")