fun test(receiver: Any?, fn: @ExtensionFunctionType Function3): Unit? { return { // BLOCK val tmp_0: Any? = receiver when { EQEQ(arg0 = tmp_0, arg1 = null) -> null else -> fn.invoke(p1 = tmp_0, p2 = 42, p3 = "Hello") } } }