[K/N] Run irText tests for K1/Native

^KT-58240
This commit is contained in:
Vladimir Sukharev
2023-08-09 22:21:59 +02:00
committed by Space Team
parent 40c9f831e2
commit 3aa6c9e74d
69 changed files with 3376 additions and 73 deletions
+3
View File
@@ -3,6 +3,9 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// KT-61141: `set()` throws kotlin.IllegalStateException instead of java.lang.IllegalStateException
// IGNORE_BACKEND: NATIVE
sealed class ArrayMap<T : Any> : Iterable<T> {
abstract val size: Int
@@ -7,6 +7,9 @@
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57788
// KT-61141: ImplicitReceiverStack & PersistentImplicitReceiverStack miss fake overrides `forEach` & `spliterator`
// IGNORE_BACKEND: NATIVE
interface SymbolOwner<E : SymbolOwner<E>>
interface Symbol<E : SymbolOwner<E>>
+3
View File
@@ -4,6 +4,9 @@
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57755
// KT-61141: `println (message: kotlin.Any?)` instead of `println (message: kotlin.Int)`
// IGNORE_BACKEND_K1: NATIVE
fun main() {
val (a: Any, _) = 1 to 2
println(a)
@@ -7,6 +7,9 @@
// MUTE_SIGNATURE_COMPARISON_K2: ANY
// ^ KT-57427
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
class Wrapper(var baseUrl: String)
enum class ConfigurationParameter {
@@ -2,6 +2,9 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// KT-61141: absent enum fake_overrides: finalize, getDeclaringClass, clone
// IGNORE_BACKEND: NATIVE
enum class EE(val myName: String = this.toString().lowercase()) {
ENTRY;
}
@@ -2,6 +2,9 @@
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// KT-61141: mustCheckInImports throws kotlin.IllegalStateException instead of java.lang.IllegalStateException
// IGNORE_BACKEND: NATIVE
abstract class Visibility(val name: String, val isPublicAPI: Boolean) {
open val internalDisplayName: String
get() = name
@@ -1,5 +1,5 @@
// SKIP_KLIB_TEST
// IGNORE_BACKEND: JS_IR
// TARGET_BACKEND: JVM
// WITH_STDLIB
// LANGUAGE: +ValueClasses