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

Correct constant expression spec per #3468 #3495

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Conversation

eernstg
Copy link
Member

@eernstg eernstg commented Dec 6, 2023

See #3468 where the underlying issue was reported. This PR changes the definition of constant expressions such that e1 ~/ e2 is allowed with int and/or double operands, whereas the current specification only allows int. There is no implementation effort, both the CFE and the analyzer behave in this manner already.

@eernstg eernstg merged commit b92280e into main Dec 6, 2023
4 checks passed
@eernstg eernstg deleted the specify_3468_dec23 branch December 6, 2023 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants