[AA] add test on property annotations

^KT-54311
This commit is contained in:
Dmitrii Gridin
2022-10-07 17:21:09 +02:00
committed by Space Team
parent 01d5a5bc5b
commit 2d240d2925
8 changed files with 526 additions and 0 deletions
@@ -0,0 +1,19 @@
// WITH_STDLIB
annotation class PropertyAnnotation
annotation class FieldAnnotation
annotation class GetAnnotation
annotation class SetAnnotation
annotation class SetparamAnnotation
@property:PropertyAnnotation
@field:FieldAnnotation
@get:GetAnnotation
@set:SetAnnotation
@setparam:SetparamAnnotation
var prop: Int = 1
annotation class DelegateAnnotation
@delegate:DelegateAnnotation
val lazyProperty by lazy { 1 }