Skip to content

Commit

Permalink
Character Literals (#1934) (#1964)
Browse files Browse the repository at this point in the history
Put character literals in single quotes, like `'a'`. Character literals work
like numeric literals:

-   Every different literal value has its own type.
-   The bit width is determined by the type of the variable the literal is
    assigned to, not the literal itself. Follows the plan from #1934.

Co-authored-by: Richard Smith <richard@metafoo.co.uk>
Co-authored-by: josh11b <josh11b@users.noreply.github.com>
Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
  • Loading branch information
4 people committed Jun 15, 2023
1 parent 87dbc4b commit 766bb7e
Showing 1 changed file with 407 additions and 0 deletions.
Loading

0 comments on commit 766bb7e

Please sign in to comment.