[FIR IDE] Add separate test data for descriptor-based Analysis API implementation

This commit is contained in:
Yan Zhulanow
2021-10-05 20:30:21 +09:00
committed by teamcityserver
parent 1272c6aa33
commit e06a75c197
18 changed files with 101 additions and 0 deletions
@@ -0,0 +1,16 @@
@Target(allowedTargets = NOT_CONST_EXPRESSION) annotation class base
@base annotation class derived
@base class correct {
constructor(x: Int)
@base constructor()
@base val x: Int
}
@base enum class My {
FIRST,
SECOND,
}
@base fun foo(@base y: @base Int): Int {
@base fun bar(@base z: @base Int): Int
@base val local: Int
}
@base val z: Int