Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace K"true" and K"false" with K"Bool" #488

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Replace K"true" and K"false" with K"Bool" #488

merged 1 commit into from
Aug 9, 2024

Conversation

c42f
Copy link
Member

@c42f c42f commented Aug 9, 2024

Use a single K"Bool" Kind for booleans. This is both more convenient and more consistent with other literal kinds such as K"Integer" which group all integers under a single kind.

Replace the use of the invisible K"false" token in catch blocks with a new kind K"Placeholder" - this removes the last of the invisible tokens, other than error tokens! K"Placeholder" will also be really useful for JuliaLowering as a kind for all-underscore identifiers.

Use a single `K"Bool"` Kind for booleans. This is both more convenient
and more consistent with other literal kinds such as K"Integer" which
group all integers under a single kind.

Replace the use of the invisible `K"false"` token in catch blocks with a
new kind `K"Placeholder"` - this removes the last of the invisible
tokens, other than error tokens! K"Placeholder" will also be really
useful for JuliaLowering as a kind for all-underscore identifiers.
@c42f c42f merged commit b92fc5e into main Aug 9, 2024
36 checks passed
@c42f c42f deleted the caf/bool-kind branch August 9, 2024 05:13
@c42f c42f mentioned this pull request Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant