[BE] Mangle context receiver params

This commit is contained in:
Anastasiya Shadrina
2021-08-09 00:24:27 +07:00
committed by TeamCityServer
parent bafd084094
commit 403ec7a5b1
5 changed files with 36 additions and 0 deletions
@@ -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)
}
}