[Tests] Minor: add FIR_IDENTICAL to typeParameterAsContextReceiver.kt

This commit is contained in:
Anastasiya Shadrina
2021-11-18 20:51:35 +07:00
committed by TeamCityServer
parent a70036c945
commit 5d76f979cf
2 changed files with 1 additions and 11 deletions
@@ -1,11 +0,0 @@
// !LANGUAGE: +ContextReceivers
// IGNORE_BACKEND_FIR: JVM_IR
context(T)
fun <T> useContext(block: (T) -> Unit) { }
fun test() {
with(42) {
useContext { i: Int -> i.toDouble() }
}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
// IGNORE_BACKEND_FIR: JVM_IR