Remove tests on -Xuse-ir compiler flag
This flag is going to be removed because old backend is not supported anymore, therefore there's no need to test it.
This commit is contained in:
committed by
Space Team
parent
22096cec3c
commit
bb4bb58453
-10
@@ -1,10 +0,0 @@
|
||||
package a
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
interface A {
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE_PARAMETER)
|
||||
annotation class Anno(val value: String)
|
||||
}
|
||||
|
||||
annotation class K(val klass: KClass<*>)
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
package b
|
||||
|
||||
import a.*
|
||||
|
||||
@A.Anno("B")
|
||||
interface B {
|
||||
@A.Anno("foo")
|
||||
@K(A.Anno::class)
|
||||
fun <@A.Anno("T") T> foo(t: T) = t
|
||||
}
|
||||
Vendored
-8
@@ -1,8 +0,0 @@
|
||||
package c
|
||||
|
||||
import b.B
|
||||
|
||||
// There should be _no_ error despite the fact that B and B#foo are annotated with an annotation which cannot be resolved
|
||||
fun bar(b: B) {
|
||||
b.foo("")
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
package test
|
||||
|
||||
enum class E { ENTRY }
|
||||
|
||||
annotation class Anno(val e: E)
|
||||
|
||||
@Anno(E.ENTRY) open class Class
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
package test
|
||||
|
||||
class Subclass : Class()
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
package test
|
||||
|
||||
public final annotation class Anno : kotlin.Annotation {
|
||||
public constructor Anno(/*0*/ e: test.E)
|
||||
public final val e: test.E
|
||||
}
|
||||
|
||||
@test.Anno(e = E.ENTRY) public open class Class {
|
||||
public constructor Class()
|
||||
}
|
||||
|
||||
public final class Subclass : test.Class {
|
||||
public constructor Subclass()
|
||||
}
|
||||
-1
@@ -1 +0,0 @@
|
||||
OK
|
||||
Reference in New Issue
Block a user