// !LANGUAGE: +ContextReceivers // FIR_IDENTICAL fun String.foo() {} context(Int, Double) fun bar() { foo() // should be prohibited } fun main() { with(1) { with(2.0) { bar() } } }