[BE] Put context receivers before an extension receiver
This commit is contained in:
committed by
TeamCityServer
parent
814777ba8c
commit
a2403c470f
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
class A {
|
||||
val ok = "OK"
|
||||
|
||||
context(A)
|
||||
fun A.f() = ok
|
||||
}
|
||||
|
||||
fun box(): String = with(A()) {
|
||||
f()
|
||||
}
|
||||
Reference in New Issue
Block a user