diff --git a/compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.fir.kt b/compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.fir.kt deleted file mode 100644 index 924e2bef55e..00000000000 --- a/compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.fir.kt +++ /dev/null @@ -1,11 +0,0 @@ -// !LANGUAGE: +ContextReceivers -// IGNORE_BACKEND_FIR: JVM_IR - -context(T) -fun useContext(block: (T) -> Unit) { } - -fun test() { - with(42) { - useContext { i: Int -> i.toDouble() } - } -} \ No newline at end of file diff --git a/compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.kt b/compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.kt index d38cd0b0e68..366cde034e4 100644 --- a/compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.kt +++ b/compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.kt @@ -1,3 +1,4 @@ +// FIR_IDENTICAL // !LANGUAGE: +ContextReceivers // IGNORE_BACKEND_FIR: JVM_IR