[FIR] Resolve property return type before resolving its annotations

This fixes TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM in a declaration
like `@Ann(myConst) const val myConst = ""`.

#KT-58080 Fixed
This commit is contained in:
Kirill Rakhman
2023-05-05 17:11:57 +02:00
committed by Space Team
parent 1c7ffb3276
commit 7f9118d0f2
7 changed files with 46 additions and 13 deletions
@@ -0,0 +1,6 @@
// FIR_IDENTICAL
annotation class Anno(val value: String)
@Anno(constant)
const val constant = "OK"