[FIR IDE] Update Analysis API test data, untie it from the FIR implementation
This commit is contained in:
committed by
teamcityserver
parent
516dd825c2
commit
1272c6aa33
+1
-1
@@ -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
-1
@@ -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()
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
||||
class NoPrimary {
|
||||
val x: String
|
||||
constructor(x: String)
|
||||
constructor()
|
||||
constructor(x: String)
|
||||
val x: String
|
||||
}
|
||||
|
||||
+3
-3
@@ -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
|
||||
|
||||
Vendored
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
+2
-2
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user