[BE] Mangle context receiver params
This commit is contained in:
committed by
TeamCityServer
parent
bafd084094
commit
403ec7a5b1
+14
@@ -0,0 +1,14 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
context(String, Int)
|
||||
fun overloaded(value: Any?) = "OK"
|
||||
|
||||
context(String)
|
||||
fun overloaded(value: Any?) = "fail"
|
||||
|
||||
fun box() = with("42") {
|
||||
with(42) {
|
||||
overloaded(null)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user