Skip to content

Commit a0d0e76

Browse files
new tests
1 parent 8328cbe commit a0d0e76

File tree

5,688 files changed

+49591
-13895
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,688 files changed

+49591
-13895
lines changed

tmp/arrays/32defaultParametersInSuspend.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// WITH_RUNTIME
32
// WITH_COROUTINES
4-
// COMMON_COROUTINES_TEST
53
import helpers.*
6-
import COROUTINES_PACKAGE.*
7-
import COROUTINES_PACKAGE.intrinsics.*
4+
import kotlin.coroutines.*
5+
import kotlin.coroutines.intrinsics.*
86

97
class Controller {
108
suspend fun suspendHere(

tmp/arrays/Collection.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyCollection<T>: Collection<T> {

tmp/arrays/DIExample.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
// WITH_RUNTIME

tmp/arrays/ForInReversedReversedRange0.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// WITH_RUNTIME
32
import kotlin.test.*
43

tmp/arrays/InlineOnlyMultifile.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND: JVM_IR
21
// WITH_RUNTIME
32

43
@file:[JvmName("Foo") JvmMultifileClass]

tmp/arrays/InlineOnlyPropertyMultifile.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
2-
// IGNORE_BACKEND: JVM_IR
31
// WITH_RUNTIME
42

53
@file:[JvmName("Foo") JvmMultifileClass]
@@ -16,3 +14,9 @@ fun foo() {
1614
inline var prop: String
1715
get() = "12"
1816
set(value) {}
17+
18+
inline var prop2: String
19+
get() = "12"
20+
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
21+
@kotlin.internal.InlineOnly
22+
set(value) {}

tmp/arrays/InlineReifiedMultifile.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND: JVM_IR
21
// WITH_RUNTIME
32

43
@file:[JvmName("Foo") JvmMultifileClass]

tmp/arrays/InlineReifiedPropertyMultifile.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND: JVM_IR
21
// WITH_RUNTIME
32

43
@file:[JvmName("Foo") JvmMultifileClass]

tmp/arrays/Iterator.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyIterator<T>(val v: T): Iterator<T> {

tmp/arrays/IteratorWithRemove.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyIterator<T>(val v: T): Iterator<T> {

tmp/arrays/JvmSynthetic.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND: JVM_IR
21
// WITH_RUNTIME
32

43
class Example {

tmp/arrays/Kt1149.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
// WITH_RUNTIME
45

tmp/arrays/Kt1619Test.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
// WITH_RUNTIME
45

tmp/arrays/Kt2495Test.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
// WITH_RUNTIME
45

tmp/arrays/List.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyList<T>: List<T> {

tmp/arrays/ListIterator.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyListIterator<T> : ListIterator<T> {

tmp/arrays/ListWithAllImplementations.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyList<T>(val v: T): List<T> {

tmp/arrays/ListWithAllInheritedImplementations.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
open class Super<T>(val v: T) {

tmp/arrays/Map.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyMap<K, V>: Map<K, V> {

tmp/arrays/MapEntry.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyMapEntry<K, V>: Map.Entry<K, V> {

tmp/arrays/MapEntryWithSetValue.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyMapEntry<K, V>: Map.Entry<K, V> {

tmp/arrays/MapWithAllImplementations.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyMap<K, V>: Map<K, V> {

tmp/arrays/MultiDeclFor0.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
class C(val i: Int) {
45
operator fun component1() = i + 1

tmp/arrays/MultiDeclFor4.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class C(val i: Int) {
32
operator fun component1() = i + 1
43
operator fun component2() = i + 2

tmp/arrays/MultiDeclForComponentExtensions0.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
class C(val i: Int) {
45
}

tmp/arrays/MultiDeclForComponentExtensions1.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
operator fun Long.component1() = this + 1
45
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentExtensions11.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class C(val i: Int) {
32
}
43

tmp/arrays/MultiDeclForComponentExtensions12.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
operator fun Int.component1() = this + 1
32
operator fun Int.component2() = this + 2
43

tmp/arrays/MultiDeclForComponentExtensions13.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
operator fun Long.component1() = this + 1
32
operator fun Long.component2() = this + 2
43

tmp/arrays/MultiDeclForComponentExtensionsValCaptured0.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
operator fun Long.component1() = this + 1
45
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentExtensionsValCaptured7.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
operator fun Int.component1() = this + 1
32
operator fun Int.component2() = this + 2
43

tmp/arrays/MultiDeclForComponentExtensionsValCaptured8.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
operator fun Long.component1() = this + 1
32
operator fun Long.component2() = this + 2
43

tmp/arrays/MultiDeclForComponentMemberExtensions0.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
class C(val i: Int) {
45
}

tmp/arrays/MultiDeclForComponentMemberExtensions1.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
class M {
45
operator fun Long.component1() = this + 1

tmp/arrays/MultiDeclForComponentMemberExtensions10.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensions11.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class C(val i: Int) {
32
}
43

tmp/arrays/MultiDeclForComponentMemberExtensions12.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensions13.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensions2.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class Range(val from : C, val to: C) {
32
operator fun iterator() = It(from, to)
43
}

tmp/arrays/MultiDeclForComponentMemberExtensions3.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensions4.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensions5.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class Range(val from : C, val to: C) {
32
operator fun iterator() = It(from, to)
43
}

tmp/arrays/MultiDeclForComponentMemberExtensions6.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensions7.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensions8.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class Range(val from : C, val to: C) {
32
operator fun iterator() = It(from, to)
43
}

tmp/arrays/MultiDeclForComponentMemberExtensions9.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction0.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
class C(val i: Int) {
45
}

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction1.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
class M {
45
operator fun Long.component1() = this + 1

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction10.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction11.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class C(val i: Int) {
32
}
43

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction12.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction13.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction2.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class Range(val from : C, val to: C) {
32
operator fun iterator() = It(from, to)
43
}

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction3.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction4.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction5.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class Range(val from : C, val to: C) {
32
operator fun iterator() = It(from, to)
43
}

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction6.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction7.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Long.component1() = this + 1
43
operator fun Long.component2() = this + 2

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction8.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class Range(val from : C, val to: C) {
32
operator fun iterator() = It(from, to)
43
}

tmp/arrays/MultiDeclForComponentMemberExtensionsInExtensionFunction9.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class M {
32
operator fun Int.component1() = this + 1
43
operator fun Int.component2() = this + 2

tmp/arrays/MultiDeclForValCaptured0.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
23
// KJS_WITH_FULL_RUNTIME
34
class C(val i: Int) {
45
operator fun component1() = i + 1

tmp/arrays/MultiDeclForValCaptured4.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class C(val i: Int) {
32
operator fun component1() = i + 1
43
operator fun component2() = i + 2

tmp/arrays/SubstitutedList.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
// TARGET_BACKEND: JVM
32

43
class MyList: List<String> {

tmp/arrays/UIntArraySortExample.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: UNSIGNED_ARRAYS
23
// KJS_WITH_FULL_RUNTIME
34
// !LANGUAGE: +InlineClasses
45

tmp/arrays/UIntArrayWithFullJdk.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// FULL_JDK
2+
3+
inline class UInt(val x: Int)
4+
5+
inline class UIntArray(private val storage: IntArray) : Collection<UInt> {
6+
public override val size: Int get() = storage.size
7+
8+
override operator fun iterator() = TODO()
9+
override fun contains(element: UInt): Boolean = TODO()
10+
override fun containsAll(elements: Collection<UInt>): Boolean = TODO()
11+
override fun isEmpty(): Boolean = TODO()
12+
}

tmp/arrays/UIntSafeAsInt.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// WITH_RUNTIME
2+
// KJS_WITH_FULL_RUNTIME
3+
4+
fun testUIntSafeAsInt(x: UInt) = x as? Int
5+
6+
fun box(): String = if (testUIntSafeAsInt(1U) != null) "fail" else "OK"

tmp/arrays/UnitValue.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// DONT_TARGET_EXACT_BACKEND: WASM
2+
// WASM_MUTE_REASON: UNIT_ISSUES
13
fun foo() {}
24

35
fun box(): String {

tmp/arrays/ValCapturedInLocalFunction.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// IGNORE_BACKEND_FIR: JVM_IR
21
class A {
32
operator fun component1() = 1
43
operator fun component2() = 2

0 commit comments

Comments
 (0)