[Tests] Support language features from test data in .knm meta compiler

Mute test failure revealed by unblocked context receivers (KTIJ-28885)

KTIJ-28668
This commit is contained in:
Pavel Kirpichenkov
2024-02-22 15:47:58 +02:00
committed by Space Team
parent d17044515f
commit 00faa6fa01
6 changed files with 23 additions and 14 deletions
@@ -1,8 +1,5 @@
// FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
/* Unsupported arguments in test metadata compiler */
// KNM_K2_IGNORE
// KNM_FE10_IGNORE
private open class ContextReceiversCallableMembers {
context(A, B)
@@ -1,8 +1,5 @@
// FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
/* Unsupported arguments in test metadata compiler */
// KNM_K2_IGNORE
// KNM_FE10_IGNORE
context(A, B)
private open class ContextReceiversOnClass {
@@ -1,9 +1,8 @@
// FIR_IDENTICAL
// JVM_FILE_NAME: ContextReceiversOnFunctionTypeKt
// !LANGUAGE: +ContextReceivers
/* Unsupported arguments in test metadata compiler */
/* KTIJ-28885 */
// KNM_K2_IGNORE
// KNM_FE10_IGNORE
fun f(g: context(A, B) Int.(Int) -> Int) {}
@@ -1,9 +1,6 @@
// FIR_IDENTICAL
// JVM_FILE_NAME: ContextReceiversOnTopLevelCallablesKt
// !LANGUAGE: +ContextReceivers
/* Unsupported arguments in test metadata compiler */
// KNM_K2_IGNORE
// KNM_FE10_IGNORE
context(A, B)
private fun Int.function(): Int = valueA + valueB