Fixes around primitive literals
- The SourceText of primitive characters
'a'#
did not include the#
, unlike for other primitive literals1#
,1##
,1.0#
,1.0##
,"a"#
. After this is fixed, we can remove the functionpp_st_suffix
, which was a hack to add the#
back. - Negative primitive literals shouldn't use parentheses, as described in
Note [Printing of literals in Core]
. Added a testcase to T14681.
This prepares the ground for sized literals !8307 (closed).