[FIR] add more tests for implicit type phase

These tests demonstrate the implicit type phase problem - annotations
are also resolved, although they should not

^KT-56551
This commit is contained in:
Dmitrii Gridin
2023-09-22 15:54:50 +02:00
committed by Space Team
parent d4bc5dc717
commit 889c210576
36 changed files with 761 additions and 0 deletions
@@ -0,0 +1,14 @@
package myPack
annotation class Anno(val number: Int)
fun topLevel() {
class LocalClass {
@Anno(<!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>prop<!>)
var prop
@Anno(<!TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>prop<!>)
get() = 22
@Anno(prop)
set(@Anno(prop) value) = Unit
}
}