[FIR IDE] Update Analysis API test data, untie it from the FIR implementation

This commit is contained in:
Yan Zhulanow
2021-10-05 20:29:49 +09:00
committed by teamcityserver
parent 516dd825c2
commit 1272c6aa33
64 changed files with 642 additions and 615 deletions
@@ -2,8 +2,8 @@
@base annotation class derived
@base class correct {
constructor(@base x: Int)
@base val x: Int
@base constructor()
@base val x: Int
}
@base enum class My {
FIRST,
@@ -1,6 +1,6 @@
interface MyRwProperty<in T, V> {
operator fun setValue(thisRef: T, property: Any, value: V)
operator fun getValue(thisRef: T, property: Any): V
operator fun setValue(thisRef: T, property: Any, value: V)
}
val x: Int
get()
@@ -8,9 +8,9 @@ enum class Planet {
VENERA,
EARTH,
constructor(m: Double, r: Double)
val g: Double
val m: Double
internal val r: Double
val g: Double
abstract fun sayHello()
companion object {
const val G: Double
@@ -1,5 +1,5 @@
class NoPrimary {
val x: String
constructor(x: String)
constructor()
constructor(x: String)
val x: String
}
@@ -1,13 +1,13 @@
interface SomeInterface {
fun foo(x: Int, y: String): String
val bar: Boolean
fun foo(x: Int, y: String): String
}
class SomeClass : SomeInterface {
private val baz: Int
override fun foo(x: Int, y: String): String
override var bar: Boolean
get()
set(value: Boolean)
private val baz: Int
lateinit var fau: Double
override fun foo(x: Int, y: String): String
}
inline class InlineClass
@@ -1,9 +1,9 @@
interface Some
abstract class My<T : Some> {
open inner class T
abstract val x: T
abstract fun foo(arg: 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
}
@@ -1,11 +1,11 @@
interface List<out T : Any> {
operator fun get(index: Int): T
infix fun concat(other: List<T>): List<T>
operator fun get(index: Int): T
}
typealias StringList = List<out String>
typealias AnyList = List<*>
abstract class AbstractList<out T : Any> : List<T>
class SomeList : AbstractList<Int> {
override operator fun get(index: Int): Int
override infix fun concat(other: List<Int>): List<Int>
override operator fun get(index: Int): Int
}