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
@@ -1,13 +1,13 @@
package test
annotation class Ann(p1: Int,
p2: Short,
p3: Byte,
p4: Int,
p5: Int,
p6: Int
annotation class Ann(<!MISSING_VAL_ON_ANNOTATION_PARAMETER!>p1: Int<!>,
<!MISSING_VAL_ON_ANNOTATION_PARAMETER!>p2: Short<!>,
<!MISSING_VAL_ON_ANNOTATION_PARAMETER!>p3: Byte<!>,
<!MISSING_VAL_ON_ANNOTATION_PARAMETER!>p4: Int<!>,
<!MISSING_VAL_ON_ANNOTATION_PARAMETER!>p5: Int<!>,
<!MISSING_VAL_ON_ANNOTATION_PARAMETER!>p6: Int<!>
)
@Ann(1 or 1, 1 and 1, 1 xor 1, 1 shl 1, 1 shr 1, 1 ushr 1) class MyClass
@Ann(1 or 1, <!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 and 1<!>, <!INTEGER_OPERATOR_RESOLVE_WILL_CHANGE!>1 xor 1<!>, 1 shl 1, 1 shr 1, 1 ushr 1) class MyClass
// EXPECTED: @Ann(p1 = 1, p2 = 1.toShort(), p3 = 0.toByte(), p4 = 2, p5 = 0, p6 = 0)