[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
@@ -31,7 +31,7 @@ fun test(a: <!UNRESOLVED_REFERENCE!>A<!>) {
import p1.A
import p2.*
fun test(a: A) {
fun test(a: <!DEPRECATION_ERROR!>A<!>) {
a.m1()
a.<!UNRESOLVED_REFERENCE!>m2<!>()
}
@@ -28,7 +28,7 @@ import p1.*
import p2.A
import p3.*
fun test(a: A) {
fun test(a: <!DEPRECATION_ERROR!>A<!>) {
a.<!UNRESOLVED_REFERENCE!>v1<!>
a.v2
a.<!UNRESOLVED_REFERENCE!>v3<!>