Fixed common type deduction