# File lib/type_checker.rb, line 716 def process_lit(exp) value = exp.shift type = nil case value when Fixnum then type = Type.long when Float then type = Type.float when Symbol then type = Type.symbol else raise "Bug! no: Unknown literal #{value}:#{value.class}" end return t(:lit, value, type) end