AA: special handling for converted constants

This commit is contained in:
Jinseong Jeon
2022-04-20 23:53:04 -07:00
committed by Ilya Kirillov
parent faf6939515
commit 61cca31b6b
11 changed files with 114 additions and 16 deletions
@@ -1,9 +1,9 @@
expression: 1
CONSTANT_EXPRESSION_EVALUATION
constant: -1
constant: 1
constantValueKind: Int
CONSTANT_LIKE_EXPRESSION_EVALUATION
constantLike: -1
constantLike: 1
constantLikeValueKind: Int
@@ -0,0 +1,4 @@
annotation class Annotation(vararg val values: Int)
@Annotation(<expr>+1</expr>)
class C
@@ -0,0 +1,9 @@
expression: +1
CONSTANT_EXPRESSION_EVALUATION
constant: 1
constantValueKind: Int
CONSTANT_LIKE_EXPRESSION_EVALUATION
constantLike: 1
constantLikeValueKind: Int
@@ -0,0 +1,4 @@
annotation class Annotation(vararg val values: Int)
@Annotation(+<expr>1</expr>)
class C