Fix types for real/bool/qstring literals