[Tests] Minor: add FIR_IDENTICAL to typeParameterAsContextReceiver.kt
This commit is contained in:
committed by
TeamCityServer
parent
a70036c945
commit
5d76f979cf
-11
@@ -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() }
|
||||
}
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user