mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Cleanup deprecated symbol usages in testData
This commit is contained in:
@@ -4,6 +4,6 @@ import kotlin.reflect.KClass
|
||||
annotation class Ann(val arg: KClass<*>)
|
||||
|
||||
fun box(): String {
|
||||
val argName = javaClass<Test>().getAnnotation(javaClass<Ann>()).arg.simpleName ?: "fail 1"
|
||||
val argName = Test::class.java.getAnnotation(Ann::class.java).arg.simpleName ?: "fail 1"
|
||||
return argName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user