[mcs] Fixes codegen for type pattern matching in probing expressions over hoisted...