Get rid of deprecated annotations in testData
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ package test
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
Anno val x: Int by object {
|
||||
@Anno val x: Int by object {
|
||||
fun get(thiz: Class, data: PropertyMetadata) = null!!
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import java.lang.annotation.ElementType
|
||||
annotation class Anno(val t: ElementType)
|
||||
|
||||
class Class {
|
||||
Anno(ElementType.METHOD) fun foo() {}
|
||||
@Anno(ElementType.METHOD) fun foo() {}
|
||||
|
||||
@field:Anno(ElementType.FIELD) var bar = 42
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,5 +3,5 @@ package test
|
||||
annotation class Anno
|
||||
|
||||
class Class {
|
||||
Anno fun foo() { }
|
||||
@Anno fun foo() { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user