Fix type-of rule for literals.