[FIR] Partial implementation of DEPRECATION(_ERROR) diagnostics

No support for inheritance deprecations
and deprecations in qualifier's parts
This commit is contained in:
Andrey Zinovyev
2021-06-23 15:25:23 +03:00
committed by teamcityserver
parent 9fad55d551
commit de3f31cf78
188 changed files with 984 additions and 1052 deletions
@@ -1,6 +1,6 @@
// !JVM_TARGET: 1.8
interface A {
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
fun test() {
}
}
@@ -16,7 +16,7 @@ interface B{
interface C : A, B {
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
override fun test() {
super<B>.test()
super<A>.test()
@@ -24,7 +24,7 @@ interface C : A, B {
}
interface D : B, A {
@JvmDefault
@<!DEPRECATION!>JvmDefault<!>
override fun test() {
super<B>.test()
super<A>.test()