Fix wrong assignments of yield expressions.