Cleanup deprecated symbol usages in testData
This commit is contained in:
@@ -16,7 +16,7 @@ const val prop5: Int = 1.mod(1)
|
||||
@Ann(prop1, prop2, prop3, prop4, prop5) class MyClass
|
||||
|
||||
fun box(): String {
|
||||
val annotation = javaClass<MyClass>().getAnnotation(javaClass<Ann>())!!
|
||||
val annotation = MyClass::class.java.getAnnotation(Ann::class.java)!!
|
||||
if (annotation.p1 != prop1) return "fail 1, expected = ${prop1}, actual = ${annotation.p1}"
|
||||
if (annotation.p2 != prop2) return "fail 2, expected = ${prop2}, actual = ${annotation.p2}"
|
||||
if (annotation.p3 != prop3) return "fail 3, expected = ${prop3}, actual = ${annotation.p3}"
|
||||
|
||||
Reference in New Issue
Block a user