Update resolveAnnotations tests in new infrastructure

This commit is contained in:
Mikhael Bogdanov
2021-07-15 14:11:40 +02:00
committed by Space
parent 671ef7dfff
commit f080dbb78c
101 changed files with 1242 additions and 40 deletions
@@ -0,0 +1,19 @@
package test
annotation class Ann(
val s1: String,
val s2: String,
val s3: String,
val s4: String
)
val i = 1
@Ann(
s1 = "a$i",
s2 = "a$i b",
s3 = <!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"$i"<!>,
s4 = "a${i}a$i"
) class MyClass
// EXPECTED: @Ann(s1 = "a1", s2 = "a1 b", s3 = "1", s4 = "a1a1")