[K/N] Run irText tests for K1/Native
^KT-58240
This commit is contained in:
committed by
Space Team
parent
40c9f831e2
commit
3aa6c9e74d
+2
@@ -1,4 +1,6 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// KT-61141: K1/Native does not support context receivers
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
fun withContext(f: context(String) () -> String) = f("OK")
|
||||
|
||||
|
||||
+3
@@ -1,6 +1,9 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
|
||||
// KT-61141: kotlin.Comparator instead of java.util.Comparator
|
||||
// IGNORE_BACKEND: NATIVE
|
||||
|
||||
data class Pair<A, B>(val first: A, val second: B)
|
||||
|
||||
context(Comparator<T>)
|
||||
|
||||
+2
@@ -1,4 +1,6 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// KT-61141: K1/Native does not support context receivers
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
class Param
|
||||
class O {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// KT-61141: K1/Native does not support context receivers
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
class Param
|
||||
class C {
|
||||
|
||||
Vendored
+2
@@ -1,4 +1,6 @@
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// KT-61141: K1/Native does not support context receivers
|
||||
// IGNORE_BACKEND_K1: NATIVE
|
||||
|
||||
class C {
|
||||
val result = "OK"
|
||||
|
||||
Reference in New Issue
Block a user