[FIR IDE] Add separate test data for descriptor-based Analysis API implementation
This commit is contained in:
committed by
teamcityserver
parent
1272c6aa33
commit
e06a75c197
Vendored
+16
@@ -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
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
interface Some
|
||||
abstract class My<T : Some> {
|
||||
abstract val x: T
|
||||
abstract val y: My<Some>.T
|
||||
abstract val z: My<Some>.T
|
||||
abstract fun foo(arg: T)
|
||||
abstract class Some : My<Some>.T
|
||||
open inner class T
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
interface A
|
||||
interface B
|
||||
class C<T : A & B>
|
||||
Reference in New Issue
Block a user