[FIR] Report missing DEPRECATION on fake sources

#KT-60682
This commit is contained in:
Kirill Rakhman
2023-08-24 13:31:58 +02:00
committed by Space Team
parent 4e041494be
commit 61259ef34b
10 changed files with 23 additions and 28 deletions
@@ -1,4 +1,7 @@
// !DIAGNOSTICS: -UNUSED_EXPRESSION
// IGNORE_DIAGNOSTIC_API
// IGNORE_REVERSED_RESOLVE
// ^KT-61491
import kotlin.reflect.KProperty
@@ -17,8 +20,8 @@ class PropertyHolder {
@Deprecated("text")
var name = "String"
val valDelegate by Delegate()
var varDelegate by Delegate()
val valDelegate by <!DEPRECATION!>Delegate<!>()
var varDelegate by <!DEPRECATION, DEPRECATION!>Delegate<!>()
public val test1: String = ""
@Deprecated("val-getter") get