Run classifier usage checkers after all imports are resolved
Otherwise the diagnostic was not reported on an unused import of a deprecated class in diagnostic tests, see the test case
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// FILE: A.kt
|
||||
|
||||
package test
|
||||
|
||||
@Deprecated("A")
|
||||
interface A
|
||||
|
||||
// FILE: B.kt
|
||||
|
||||
import test.<!DEPRECATION!>A<!>
|
||||
@@ -0,0 +1,10 @@
|
||||
package
|
||||
|
||||
package test {
|
||||
|
||||
@kotlin.Deprecated(message = "A") public interface A {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user