46b8deedf7
In some cases, REFERENCE_TARGET for annotation entries is the annotation class descriptor, and in others -- the constructor of that class
12 lines
277 B
Kotlin
Vendored
12 lines
277 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_VARIABLE
|
|
|
|
@Deprecated("", level = DeprecationLevel.HIDDEN)
|
|
open class Foo
|
|
|
|
fun test(f: <!DEPRECATION_ERROR!>Foo<!>) {
|
|
f.toString()
|
|
val g: <!DEPRECATION_ERROR!>Foo<!>? = <!DEPRECATION_ERROR!>Foo<!>()
|
|
}
|
|
|
|
class Bar : <!DEPRECATION_ERROR!>Foo<!>()
|