[K/JS] Include jsFirEs6Test into jsFirCompilerTest tests
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT)
|
// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT)
|
||||||
// IGNORE_BACKEND: JVM
|
// IGNORE_BACKEND: JVM
|
||||||
|
|
||||||
// (supported: JVM_IR, JS_IR(_E6))
|
// (supported: JVM_IR, JS_IR(_ES6))
|
||||||
|
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// !LANGUAGE: +InstantiationOfAnnotationClasses +MultiPlatformProjects
|
// !LANGUAGE: +InstantiationOfAnnotationClasses +MultiPlatformProjects
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// This test exists only to check that we don't accidentally break the buggy behavior of the old JVM backend in JVM IR (KT-42321).
|
// This test exists only to check that we don't accidentally break the buggy behavior of the old JVM backend in JVM IR (KT-42321).
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass
|
// !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: don't support legacy feature
|
// FIR status: don't support legacy feature
|
||||||
|
|
||||||
interface A {
|
interface A {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass
|
// !LANGUAGE: -AbstractClassMemberNotImplementedWithIntermediateAbstractClass
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: don't support legacy feature
|
// FIR status: don't support legacy feature
|
||||||
|
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: result.getMethod OK in FE1.0, unresolved in FIR
|
// FIR status: result.getMethod OK in FE1.0, unresolved in FIR
|
||||||
|
|
||||||
class C(val value: String) {
|
class C(val value: String) {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// !LANGUAGE: +MultiPlatformProjects
|
// !LANGUAGE: +MultiPlatformProjects
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT)
|
// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT)
|
||||||
|
|
||||||
import kotlin.coroutines.*
|
import kotlin.coroutines.*
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// LANGUAGE: -ProhibitIllegalValueParameterUsageInDefaultArguments
|
// LANGUAGE: -ProhibitIllegalValueParameterUsageInDefaultArguments
|
||||||
// IGNORE_BACKEND: JVM
|
// IGNORE_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: don't support legacy feature. UNINITIALIZED_PARAMETER y. See KT-49800
|
// FIR status: don't support legacy feature. UNINITIALIZED_PARAMETER y. See KT-49800
|
||||||
tailrec fun foo(x: () -> String? = { y }, y: String = "fail"): String? {
|
tailrec fun foo(x: () -> String? = { y }, y: String = "fail"): String? {
|
||||||
if (y == "start")
|
if (y == "start")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM_IR
|
// TARGET_BACKEND: JVM_IR
|
||||||
// AFTER KT-53649 - TARGET_BACKEND: NATIVE, JS_IR
|
// AFTER KT-53649 - TARGET_BACKEND: NATIVE, JS_IR, JS_IR_ES6
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
// MODULE: lib
|
// MODULE: lib
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM_IR
|
// TARGET_BACKEND: JVM_IR
|
||||||
// AFTER KT-53649 - TARGET_BACKEND: NATIVE, JS_IR
|
// AFTER KT-53649 - TARGET_BACKEND: NATIVE, JS_IR, JS_IR_ES6
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
// MODULE: lib
|
// MODULE: lib
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM_IR
|
// TARGET_BACKEND: JVM_IR
|
||||||
// AFTER KT-53649 - TARGET_BACKEND: NATIVE, JS_IR
|
// AFTER KT-53649 - TARGET_BACKEND: NATIVE, JS_IR, JS_IR_ES6
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|
||||||
// MODULE: lib
|
// MODULE: lib
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: don't support legacy feature (see https://youtrack.jetbrains.com/issue/KT-37591). UNRESOLVED_REFERENCE at '+'
|
// FIR status: don't support legacy feature (see https://youtrack.jetbrains.com/issue/KT-37591). UNRESOLVED_REFERENCE at '+'
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// MODULE: lib
|
// MODULE: lib
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
// SKIP_JDK6
|
// SKIP_JDK6
|
||||||
// FULL_JDK
|
// FULL_JDK
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// IGNORE_BACKEND: WASM
|
// IGNORE_BACKEND: WASM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE
|
||||||
// FIR status: ARGUMENT_TYPE_MISMATCH at contribute arguments
|
// FIR status: ARGUMENT_TYPE_MISMATCH at contribute arguments
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// !LANGUAGE: +UnrestrictedBuilderInference
|
// !LANGUAGE: +UnrestrictedBuilderInference
|
||||||
// !DIAGNOSTICS: -DEPRECATION -OPT_IN_IS_NOT_ENABLED
|
// !DIAGNOSTICS: -DEPRECATION -OPT_IN_IS_NOT_ENABLED
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: NONE_APPLICABLE at all equals calls
|
// FIR status: NONE_APPLICABLE at all equals calls
|
||||||
import kotlin.experimental.ExperimentalTypeInference
|
import kotlin.experimental.ExperimentalTypeInference
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
// !LANGUAGE: +UnrestrictedBuilderInference -UseBuilderInferenceOnlyIfNeeded
|
// !LANGUAGE: +UnrestrictedBuilderInference -UseBuilderInferenceOnlyIfNeeded
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// !DIAGNOSTICS: -OPT_IN_USAGE_ERROR -CAST_NEVER_SUCCEEDS
|
// !DIAGNOSTICS: -OPT_IN_USAGE_ERROR -CAST_NEVER_SUCCEEDS
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, WASM
|
||||||
// FIR status: Initializer type mismatch at first val x = : expected kotlin/collections/MutableList<kotlin/CharSequence>, actual kotlin/collections/MutableList<kotlin/String>
|
// FIR status: Initializer type mismatch at first val x = : expected kotlin/collections/MutableList<kotlin/CharSequence>, actual kotlin/collections/MutableList<kotlin/String>
|
||||||
|
|
||||||
import kotlin.experimental.ExperimentalTypeInference
|
import kotlin.experimental.ExperimentalTypeInference
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// WITH_REFLECT
|
// WITH_REFLECT
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE
|
||||||
// FIR status: KotlinNothingValueException from create()
|
// FIR status: KotlinNothingValueException from create()
|
||||||
|
|
||||||
fun <T : A> create(modelClass: Class<T>): T {
|
fun <T : A> create(modelClass: Class<T>): T {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// SKIP_TXT
|
// SKIP_TXT
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// !LANGUAGE: +MultiPlatformProjects
|
// !LANGUAGE: +MultiPlatformProjects
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: expect/actual in the same module
|
// FIR status: expect/actual in the same module
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// MODULE: lib
|
// MODULE: lib
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// !LANGUAGE: +MultiPlatformProjects
|
// !LANGUAGE: +MultiPlatformProjects
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: outdated code (expect/actual in the same module)
|
// FIR status: outdated code (expect/actual in the same module)
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// MODULE: lib
|
// MODULE: lib
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT)
|
// FIR status: expect/actual in the same module (ACTUAL_WITHOUT_EXPECT)
|
||||||
// !LANGUAGE: +MultiPlatformProjects
|
// !LANGUAGE: +MultiPlatformProjects
|
||||||
// !OPT_IN: kotlin.ExperimentalMultiplatform
|
// !OPT_IN: kotlin.ExperimentalMultiplatform
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
// FIR status: Disabling of StrictOnlyInputTypesChecks is not supported by FIR
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
// !LANGUAGE: -StrictOnlyInputTypesChecks
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// !LANGUAGE: -ProhibitOperatorMod
|
// !LANGUAGE: -ProhibitOperatorMod
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: don't support legacy feature
|
// FIR status: don't support legacy feature
|
||||||
// MODULE: lib
|
// MODULE: lib
|
||||||
// FILE: Java.java
|
// FILE: Java.java
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// !LANGUAGE: -ProhibitVarargAsArrayAfterSamArgument
|
// !LANGUAGE: -ProhibitVarargAsArrayAfterSamArgument
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: don't support legacy feature
|
// FIR status: don't support legacy feature
|
||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: scripts aren't supported yet
|
// FIR status: scripts aren't supported yet
|
||||||
// IGNORE_LIGHT_ANALYSIS
|
// IGNORE_LIGHT_ANALYSIS
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: scripts aren't supported yet
|
// FIR status: scripts aren't supported yet
|
||||||
// IGNORE_LIGHT_ANALYSIS
|
// IGNORE_LIGHT_ANALYSIS
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: scripts aren't supported yet
|
// FIR status: scripts aren't supported yet
|
||||||
// IGNORE_LIGHT_ANALYSIS
|
// IGNORE_LIGHT_ANALYSIS
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// TARGET_BACKEND: JVM
|
// TARGET_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
|
||||||
// FIR status: scripts aren't supported yet
|
// FIR status: scripts aren't supported yet
|
||||||
// IGNORE_LIGHT_ANALYSIS
|
// IGNORE_LIGHT_ANALYSIS
|
||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
// FIR status: KT-46419, ILT conversions to Byte and Short are not supported by design
|
||||||
|
|
||||||
fun box(): String {
|
fun box(): String {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, WASM
|
||||||
// !LANGUAGE: -ProhibitAssigningSingleElementsToVarargsInNamedForm -AllowAssigningArrayElementsToVarargsInNamedFormForFunctions
|
// !LANGUAGE: -ProhibitAssigningSingleElementsToVarargsInNamedForm -AllowAssigningArrayElementsToVarargsInNamedFormForFunctions
|
||||||
// FIR status: don't support legacy feature
|
// FIR status: don't support legacy feature
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions
|
// LANGUAGE: -ProhibitSimplificationOfNonTrivialConstBooleanExpressions
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// FIR status: don't support legacy feature
|
// FIR status: don't support legacy feature
|
||||||
fun box() : String = when (true) {
|
fun box() : String = when (true) {
|
||||||
((true)) -> "OK"
|
((true)) -> "OK"
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
// WITH_STDLIB
|
// WITH_STDLIB
|
||||||
// !LANGUAGE: -UseCorrectExecutionOrderForVarargArguments
|
// !LANGUAGE: -UseCorrectExecutionOrderForVarargArguments
|
||||||
// IGNORE_BACKEND: JS
|
// IGNORE_BACKEND: JS
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, WASM
|
||||||
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE
|
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE
|
||||||
// NO_CHECK_LAMBDA_INLINING
|
// NO_CHECK_LAMBDA_INLINING
|
||||||
// KJS_WITH_FULL_RUNTIME
|
// KJS_WITH_FULL_RUNTIME
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// IGNORE_BACKEND: JVM
|
// IGNORE_BACKEND: JVM
|
||||||
// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_OLD_AGAINST_IR
|
// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_OLD_AGAINST_IR
|
||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE
|
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE
|
||||||
// NO_CHECK_LAMBDA_INLINING
|
// NO_CHECK_LAMBDA_INLINING
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE
|
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE
|
||||||
// !LANGUAGE: -ProhibitSuperCallsFromPublicInline
|
// !LANGUAGE: -ProhibitSuperCallsFromPublicInline
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE
|
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE
|
||||||
// !LANGUAGE: -ProhibitSuperCallsFromPublicInline
|
// !LANGUAGE: -ProhibitSuperCallsFromPublicInline
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, NATIVE, WASM
|
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6, NATIVE, WASM
|
||||||
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE
|
// IGNORE_BACKEND_K2_MULTI_MODULE: JVM_IR JVM_IR_SERIALIZE NATIVE
|
||||||
// !LANGUAGE: -ProhibitSuperCallsFromPublicInline
|
// !LANGUAGE: -ProhibitSuperCallsFromPublicInline
|
||||||
// FILE: 1.kt
|
// FILE: 1.kt
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Char issues
|
// Char issues
|
||||||
// IGNORE_BACKEND: JS_IR
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
|
||||||
|
|
||||||
// MODULE: main
|
// MODULE: main
|
||||||
// FILE: externals.js
|
// FILE: externals.js
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND: JS_IR, JS
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6, JS
|
||||||
|
|
||||||
inline fun checkNPE(body: () -> Unit) {
|
inline fun checkNPE(body: () -> Unit) {
|
||||||
var throwed = false
|
var throwed = false
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// IGNORE_BACKEND: JS_IR, JS
|
// IGNORE_BACKEND: JS_IR, JS_IR_ES6, JS
|
||||||
// FILE: file1.kt
|
// FILE: file1.kt
|
||||||
@JsFun("() => 42")
|
@JsFun("() => 42")
|
||||||
private external fun clashName(): Int
|
private external fun clashName(): Int
|
||||||
|
|||||||
Reference in New Issue
Block a user