Generalize logic to set the result type for ops where the result type and the types of all operands match. Use it to support any unary and binops.
9.4 KiB
9.4 KiB
Generalize logic to set the result type for ops where the result type and the types of all operands match. Use it to support any unary and binops.