[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
@@ -94,20 +94,20 @@ fun use(
sdh: SDH, edh: EDH, ned: NED,
diff: Diff
) {
warningDeprecated.p
warningDeprecated.p = 1
warningDeprecated.<!DEPRECATION!>p<!>
warningDeprecated.p <!DEPRECATION!>=<!> 1
errorDeprecated.p
errorDeprecated.p = 1
errorDeprecated.<!DEPRECATION_ERROR!>p<!>
errorDeprecated.p <!DEPRECATION_ERROR!>=<!> 1
getterDeprecated.p
getterDeprecated.<!DEPRECATION!>p<!>
getterDeprecated.p = 1
setterDeprecated.p
setterDeprecated.p = 1
setterDeprecated.p <!DEPRECATION!>=<!> 1
hiddenDeprecated.p
hiddenDeprecated.p = 1
hiddenDeprecated.<!INVISIBLE_REFERENCE!>p<!>
hiddenDeprecated.<!INVISIBLE_REFERENCE!>p<!> = 1
wd.p
wd.p = 1
@@ -130,6 +130,6 @@ fun use(
ned.p
ned.p = 1
diff.p
diff.p = 1
}
diff.<!DEPRECATION_ERROR!>p<!>
diff.<!INVISIBLE_REFERENCE!>p<!> = 1
}