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

NOTE: We should probably not emit empty statements. It does not change the semantics of the program but it's weird and might not look like "correct" code. #892

Open
guillep opened this issue Jan 6, 2025 · 1 comment

Comments

@guillep
Copy link
Member

guillep commented Jan 6, 2025

          NOTE: We should probably not emit empty statements. It does not change the semantics of the program but it's weird and might not look like "correct" code.

OTOH: I would also argue for using nonstandard-but-widely-supported extensions like expression statements instead of trying to force sequence points on an expression by use of the comma operator.

Originally posted by @iglosiggio in #891 (comment)

@guillep
Copy link
Member Author

guillep commented Jan 6, 2025

Good issue for @RenaudFondeur

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

No branches or pull requests

1 participant