Minor, extract test for synthetic methods for properties

This commit is contained in:
Alexander Udalov
2013-10-15 21:23:14 +04:00
parent 2445d04338
commit 6269cb807b
4 changed files with 80 additions and 43 deletions
@@ -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