FirAnnotationArgumentChecker: handle conversion calls properly

This commit is contained in:
Mikhail Glukhikh
2020-10-05 15:14:22 +03:00
parent 6f432ea5dd
commit f6b49a2c9a
2 changed files with 25 additions and 7 deletions
@@ -19,5 +19,5 @@ val depth: Int = 42
annotation class KotlinMagicConstant(val intValues: LongArray)
@KotlinMagicConstant(intValues = <!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>[StepRequest.STEP_INTO.<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>toLong()<!>, StepRequest.STEP_OVER.<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>toLong()<!>, StepRequest.STEP_OUT.<!ANNOTATION_ARGUMENT_MUST_BE_CONST!>toLong()<!>]<!>)
@KotlinMagicConstant(intValues = [StepRequest.STEP_INTO.toLong(), StepRequest.STEP_OVER.toLong(), StepRequest.STEP_OUT.toLong()])
val kotlinDepth: Int = 42