Adjust testData: get rid of obsolete annotations
This commit is contained in:
@@ -9,12 +9,12 @@ Retention(RetentionPolicy.RUNTIME)
|
||||
annotation class Second(val value: String)
|
||||
|
||||
enum class E {
|
||||
[First]
|
||||
@First
|
||||
E1 {
|
||||
fun foo() = "something"
|
||||
}
|
||||
|
||||
[Second("OK")]
|
||||
@Second("OK")
|
||||
E2
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ fun testClass(clazz: Class<*>, name: String) {
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
testClass(foo0([Ann("OK")] { }), "1")
|
||||
testClass(foo0(@Ann("OK") { }), "1")
|
||||
testClass(foo0( @Ann("OK") { }), "2")
|
||||
|
||||
testClass(foo0() @Ann("OK") { }, "3")
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ annotation class First
|
||||
|
||||
class MyClass() {
|
||||
public var x: String by Delegate()
|
||||
[First] set
|
||||
@First set
|
||||
}
|
||||
|
||||
class Delegate {
|
||||
|
||||
Reference in New Issue
Block a user