"a + b" is not a typeable expression according to the spec. You need only ensure that you properly print all semantically correct programs. If you want to print incorrect ones, then print out "any" as the result type.
Sent from my mobile device.
--
--