Minor, extract test for synthetic methods for properties
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import java.lang.annotation.*
|
||||
|
||||
Retention(RetentionPolicy.RUNTIME) annotation class SomeAnnotation(val value: String)
|
||||
|
||||
class A {
|
||||
[SomeAnnotation("OK")] val property: Int
|
||||
get() = 42
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import java.lang.annotation.*
|
||||
|
||||
Retention(RetentionPolicy.RUNTIME) annotation class SomeAnnotation(val value: String)
|
||||
|
||||
[SomeAnnotation("OK")] val property: Int
|
||||
get() = 42
|
||||
Reference in New Issue
Block a user