[FIR IDE] Remove obsolete test data files

This commit is contained in:
Yan Zhulanow
2021-11-02 01:24:33 +09:00
parent d93d55064c
commit 430108b138
26 changed files with 0 additions and 196 deletions
@@ -1,2 +0,0 @@
open class A
class B : A
@@ -1,7 +0,0 @@
abstract class A {
abstract class Nested
}
typealias TA = A
class B : TA {
class NestedInB : A.Nested
}
@@ -1,8 +0,0 @@
abstract class My {
abstract class NestedOne : My {
abstract class NestedTwo : My.NestedOne
}
}
class Your : My {
class NestedThree : My.NestedOne
}
@@ -1,16 +0,0 @@
@Target(allowedTargets = NOT_CONST_EXPRESSION) annotation class base
@base annotation class derived
@base class correct {
constructor(@base x: Int)
@base val x: Int
@base constructor()
}
@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
@@ -1,6 +0,0 @@
class C<T, out S> {
inner class D<R, in P>
}
interface Test {
val x: C<out CharSequence, *>.D<in List<*>, *>
}
@@ -1,12 +0,0 @@
object A {
constructor()
}
enum class B {
X,
}
class C {
companion object {
constructor()
}
}
val anonObject: Any
@@ -1,10 +0,0 @@
interface IFace<T> {
fun getStatus(arg: T): Boolean
}
class Some
private fun resolve(): IFace<Some> {
object : IFace<Some> {
constructor()
override fun getStatus(arg: Some): Boolean
}
}
@@ -1,12 +0,0 @@
interface MyRwProperty<in T, V> {
operator fun setValue(thisRef: T, property: Any, value: V)
operator fun getValue(thisRef: T, property: Any): V
}
val x: Int
get()
val delegate: MyRwProperty<Any?, Int>
val value: Int
get()
var variable: Int
get()
set(value: Int)
@@ -1,8 +0,0 @@
open class Base<T> {
constructor(x: T)
val x: T
}
class Derived<T : Any> : Base<T> {
constructor(x: T)
}
fun <T : Any> create(x: T): Derived<T>
@@ -1,3 +0,0 @@
fun test() {
val x: Any
}
@@ -1,30 +0,0 @@
enum class Order {
FIRST,
SECOND,
THIRD,
}
enum class Planet {
MERCURY,
VENERA,
EARTH,
constructor(m: Double, r: Double)
val m: Double
internal val r: Double
val g: Double
abstract fun sayHello()
companion object {
const val G: Double
}
}
enum class PseudoInsn {
FIX_STACK_BEFORE_JUMP,
FAKE_ALWAYS_TRUE_IFEQ,
FAKE_ALWAYS_FALSE_IFEQ,
SAVE_STACK_BEFORE_TRY,
RESTORE_STACK_IN_TRY_CATCH,
STORE_NOT_NULL,
AS_NOT_NULL,
constructor(signature: String = ...)
val signature: String
fun emit()
}
@@ -1,10 +0,0 @@
interface Some
object O1 : Some
object O2 : Some
enum class SomeEnum {
FIRST,
SECOND,
constructor(x: Some)
val x: Some
abstract fun check(y: Some): Boolean
}
@@ -1,6 +0,0 @@
expect class MyClass
expect fun foo(): String
expect val x: Int
actual class MyClass
actual fun foo(): String
actual val x: Int
@@ -1,3 +0,0 @@
fun <T> simpleRun(f: (T) -> Unit)
fun <T, R> List<T>.simpleMap(f: (T) -> R): R
fun <T> simpleWith(t: T, f: T.() -> Unit)
@@ -1,5 +0,0 @@
interface Any
inline fun <reified T : Any> Any.safeAs(): T?
abstract class Summator {
abstract fun <T> plus(first: T, second: T): T
}
@@ -1,3 +0,0 @@
fun <T> genericFoo(): T
val <T> T.generic: T
get()
@@ -1 +0,0 @@
private fun foo(x: Any): Any?
@@ -1,10 +0,0 @@
abstract class Base {
constructor(s: String)
val s: String
}
class Outer {
class Derived : Base {
constructor(s: String)
}
object Obj : Base
}
@@ -1,5 +0,0 @@
class NoPrimary {
val x: String
constructor(x: String)
constructor()
}
@@ -1,13 +0,0 @@
interface SomeInterface {
fun foo(x: Int, y: String): String
val bar: Boolean
}
class SomeClass : SomeInterface {
private val baz: Int
override fun foo(x: Int, y: String): String
override var bar: Boolean
get()
set(value: Boolean)
lateinit var fau: Double
}
inline class InlineClass
@@ -1,2 +0,0 @@
fun foo()
suspend fun bar()
@@ -1,3 +0,0 @@
interface B
typealias C = B
class D : C
@@ -1,4 +0,0 @@
open class A
interface B<S, T : A>
typealias C<T> = B<T, A>
class D : C<A>
@@ -1,11 +0,0 @@
interface List<out T : Any> {
operator fun get(index: Int): T
infix fun concat(other: List<T>): List<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>
}
@@ -1,3 +0,0 @@
@Target(allowedTargets = NOT_CONST_EXPRESSION) annotation class base
fun foo1(vararg ints: Int)
fun foo2(@base vararg ints: @base Int)
@@ -1,3 +0,0 @@
interface A
interface B
class C<T : A> where T : B