IR text tests: Remove useless IGNORE_BACKEND*: JS_IR_ES6 directive
This commit is contained in:
committed by
Space Team
parent
e0e50e183e
commit
fd96ee1d0b
@@ -3,7 +3,6 @@
|
||||
// IGNORE_BACKEND_K2: ANY
|
||||
// ^ TODO decide if we want to fix KT-42020 for FIR as well
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// KT-61141: IrSimpleFunctionPublicSymbolImpl for /Derived.foo|foo(kotlin.String){}[0] is already bound
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WITH_STDLIB
|
||||
// SKIP_KLIB_TEST
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
sealed class A : CharSequence {
|
||||
data class B(val c: CharSequence) : A(), CharSequence by c
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR JS_IR_ES6 NATIVE
|
||||
// IGNORE_BACKEND: JS_IR NATIVE
|
||||
// ^ KT-61141: absent enum fake_overrides: finalize (K1), getDeclaringClass (K1), clone (K2)
|
||||
|
||||
enum class TestEnum1 {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR JS_IR_ES6 NATIVE
|
||||
// IGNORE_BACKEND: JS_IR NATIVE
|
||||
// ^ KT-61141: absent enum fake_overrides: finalize (K1), getDeclaringClass (K1), clone (K2)
|
||||
|
||||
enum class TestFinalEnum1 {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR JS_IR_ES6 NATIVE
|
||||
// IGNORE_BACKEND: JS_IR NATIVE
|
||||
// ^ KT-61141: absent enum fake_overrides: finalize (K1), getDeclaringClass (K1), clone (K2)
|
||||
|
||||
enum class A {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR JS_IR_ES6 NATIVE
|
||||
// IGNORE_BACKEND: JS_IR NATIVE
|
||||
// ^ KT-61141: absent enum fake_overrides: finalize (K1), getDeclaringClass (K1), clone (K2)
|
||||
|
||||
enum class Test0(val x: Int) {
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// SKIP_SIGNATURE_DUMP
|
||||
// ^ Difference in annotations generated by K1 and K2
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// KT-61141: kotlin.collections.HashMap instead of java.util.HashMap
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// KT-61141: kotlin.collections.HashMap instead of java.util.HashMap
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-52677
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: throws kotlin.RuntimeException instead of java.lang.RuntimeException
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: `println (message: kotlin.Any?)` instead of `println (message: kotlin.Int)`
|
||||
// KT-61141: `kotlin.collections.HashMap` instead of `java.util.HashMap`
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
// FIR status: In FIR, declaring the same `expect` and `actual` classes in one compiler module is not possible (see KT-55177).
|
||||
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// !LANGUAGE: +MultiPlatformProjects
|
||||
// IGNORE_BACKEND_K1: ANY
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR_ES6
|
||||
// IGNORE_BACKEND_K2: NATIVE
|
||||
|
||||
// MODULE: lib
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// KT-61141: kotlin.collections.HashMap instead of java.util.HashMap
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// accessing uninitialized parameter is illegal in FIR
|
||||
// LANGUAGE: -ProhibitIllegalValueParameterUsageInDefaultArguments
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
// KT-61141: catches kotlin.Exception instead of java.lang.Exception
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// !IGNORE_ERRORS
|
||||
// DIAGNOSTICS: -UNRESOLVED_REFERENCE -OVERLOAD_RESOLUTION_AMBIGUITY
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// !IGNORE_ERRORS
|
||||
// DIAGNOSTICS: -BREAK_OR_CONTINUE_OUTSIDE_A_LOOP -NOT_A_LOOP_LABEL -UNRESOLVED_REFERENCE -BREAK_OR_CONTINUE_JUMPS_ACROSS_FUNCTION_BOUNDARY
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// LANGUAGE: +BreakContinueInInlineLambdas
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// !IGNORE_ERRORS
|
||||
// DIAGNOSTICS: -NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER -BREAK_OR_CONTINUE_OUTSIDE_A_LOOP -UNEXPECTED_TRAILING_LAMBDA_ON_A_NEW_LINE -NO_VALUE_FOR_PARAMETER -NOT_A_LOOP_LABEL -UNRESOLVED_REFERENCE -TYPE_MISMATCH -BREAK_OR_CONTINUE_JUMPS_ACROSS_FUNCTION_BOUNDARY
|
||||
// WITH_STDLIB
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// !LANGUAGE: +AllowBreakAndContinueInsideWhen
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: throws kotlin.AssertionError instead of java.lang.AssertionError
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: rethrows kotlin.Exception instead of java.lang.Exception
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR JS_IR_ES6 NATIVE
|
||||
// IGNORE_BACKEND: JS_IR NATIVE
|
||||
// ^ KT-61141: absent enum fake_overrides: finalize (K1), getDeclaringClass (K1), clone (K2)
|
||||
|
||||
enum class X {
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// SKIP_SIGNATURE_DUMP
|
||||
// ^ Types of properties of anonymous classes generated by K1 and K2 are different
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: `println (message: kotlin.Any?)` instead of `println (message: kotlin.Int)`
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: `println (message: kotlin.Any?)` instead of `println (message: kotlin.Int)`
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6, NATIVE
|
||||
// IGNORE_BACKEND_K2: JS_IR NATIVE
|
||||
// ^ the order of fake overrides is different on K2
|
||||
|
||||
interface X {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: throws kotlin.Exception instead of java.lang.Exception
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// ISSUE: KT-48708
|
||||
|
||||
// KT-61141: throws kotlin.Exception instead of java.lang.Exception
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// ISSUE: KT-48806
|
||||
|
||||
// KT-61141: throws kotlin.RuntimeException instead of java.lang.RuntimeException, and catches kotlin.Exception instead of java.lang.Exception
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// KT-61141: Extra invocations of toLong(), toShort(), etc.. after unaryMinus()
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: `println (message: kotlin.Any?)` instead of `println (message: kotlin.Int)`
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WITH_STDLIB
|
||||
// SKIP_KLIB_TEST
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: `set()` throws kotlin.IllegalStateException instead of java.lang.IllegalStateException
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// FIR_IDENTICAL
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// MODULE: m1
|
||||
// FILE: BaseFirBuilder.kt
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// FULL_JDK
|
||||
// JVM_TARGET: 1.8
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR JS_IR NATIVE
|
||||
// ^ KT-57788: Fix computing mangled names of types with @EnhancedNullability from IR-based declaration descriptors
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR_ES6
|
||||
// IGNORE_BACKEND_K2: NATIVE
|
||||
|
||||
open class ControlFlowInfo<K, V>(val map: Map<K, V>): Map<K, V> by map
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR JS_IR_ES6 NATIVE
|
||||
// IGNORE_BACKEND: JS_IR NATIVE
|
||||
// ^ KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
|
||||
class Wrapper(var baseUrl: String)
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: mustCheckInImports throws kotlin.IllegalStateException instead of java.lang.IllegalStateException
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// FIR_IDENTICAL
|
||||
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR_ES6
|
||||
|
||||
fun testArrayIncrementDecrement(d: dynamic) {
|
||||
val t1 = ++d["prefixIncr"]
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// TARGET_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
fun test(d: dynamic) = d!!
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// TARGET_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR_ES6
|
||||
|
||||
// FIR_IDENTICAL
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: In testLrmFoo1 and testLrmFoo2, `print (message: kotlin.Any?)` instead of `print (message: kotlin.Int)`
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND: JS_IR JS_IR_ES6 NATIVE
|
||||
// IGNORE_BACKEND: JS_IR NATIVE
|
||||
// ^ KT-61141: absent enum fake_overrides: finalize (K1), getDeclaringClass (K1), clone (K2)
|
||||
|
||||
enum class Z {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// MODULE: m1
|
||||
// FILE: genericClassInDifferentModule_m1.kt
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// FIR_IDENTICAL
|
||||
// SKIP_KT_DUMP
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K1: JS_IR_ES6
|
||||
|
||||
// KT-61141: difference in IR for implicit cast
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
// WITH_STDLIB
|
||||
// SKIP_KT_DUMP
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
|
||||
// KT-61141: For result of `+`, Native backend inferred type Comparable instead of Nothing
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
Reference in New Issue
Block a user