Run classifier usage checkers on constructor calls
In some cases, REFERENCE_TARGET for annotation entries is the annotation class descriptor, and in others -- the constructor of that class
This commit is contained in:
@@ -5,7 +5,7 @@ open class Foo
|
||||
|
||||
fun test(f: <!DEPRECATION_ERROR!>Foo<!>) {
|
||||
f.toString()
|
||||
val g: <!DEPRECATION_ERROR!>Foo<!>? = <!UNRESOLVED_REFERENCE!>Foo<!>()
|
||||
val g: <!DEPRECATION_ERROR!>Foo<!>? = <!DEPRECATION_ERROR!>Foo<!>()
|
||||
}
|
||||
|
||||
class Bar : <!UNRESOLVED_REFERENCE, DEPRECATION_ERROR, DEBUG_INFO_UNRESOLVED_WITH_TARGET!>Foo<!>()
|
||||
class Bar : <!DEPRECATION_ERROR!>Foo<!>()
|
||||
|
||||
Reference in New Issue
Block a user