[LL FIR] add more lazy resolution tests on property from constructor

^KTIJ-26215
This commit is contained in:
Dmitrii Gridin
2023-10-25 15:11:32 +02:00
committed by Space Team
parent f66bb1bcb7
commit ab393d0340
10 changed files with 1638 additions and 0 deletions
@@ -0,0 +1,19 @@
@Target(AnnotationTarget.FIELD)
annotation class FieldAnnotation(val i: Int)
@Repeatable
annotation class Anno(val s: String)
class Sub(
@FieldAnnotation(konstant)
@field:Anno("field$stringConstant")
@property:Anno("property$stringConstant")
@get:Anno("get$stringConstant")
@set:Anno("set$stringConstant")
@setparam:Anno("setparam$stringConstant")
@param:Anno("param$stringConstant")
var pr<caret>op: Int,
)
const val konstant = 0
const val stringConstant = "str ${1}"