This allows for inferring the result types of operations in certain situations by using the type of
an operand. This commit allowed for automatically supporting type inference for many more
operations with no additional effort, e.g. nearly all Arithmetic operations now support
result type inferrence with no additional changes.
Depends on D124580
We could also make this an OpTraitList and avoid need to inject here. But I can do that in follow up (that special casing Todo still applies)