Generate synthetic methods for annotated properties in TImpl classes
Traits themselves can't have these methods, since it'd be a weird public method in an interface #KT-4072 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java.lang.annotation.*
|
||||
|
||||
Retention(RetentionPolicy.RUNTIME) annotation class SomeAnnotation(val value: String)
|
||||
|
||||
trait T {
|
||||
[SomeAnnotation("OK")] val property: Int
|
||||
}
|
||||
Reference in New Issue
Block a user