Files
kotlin-fork/compiler/testData/diagnostics/tests/deprecated/unusedImport.kt
T
Alexander Udalov ec53efd869 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
2016-10-06 14:40:20 +03:00

11 lines
106 B
Kotlin
Vendored

// FILE: A.kt
package test
@Deprecated("A")
interface A
// FILE: B.kt
import test.<!DEPRECATION!>A<!>