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

It should not be possible to comment out comment delimiters #2181

Open
sauclovian-g opened this issue Jan 14, 2025 · 0 comments
Open

It should not be possible to comment out comment delimiters #2181

sauclovian-g opened this issue Jan 14, 2025 · 0 comments
Assignees
Labels
needs test Issues for which we should add a regression test tech debt Issues that document or involve technical debt topics: error-messages Issues involving the messages SAW produces on error type: bug Issues reporting bugs or unexpected/unwanted behavior
Milestone

Comments

@sauclovian-g
Copy link
Contributor

/* */ comments are supposed to nest, so

/* aa /* bb */ cc */

should be accepted.

However, it should not be possible to comment out a */ using //:

/* // */

should be accepted. However, it fails.

(also, it fails with "Unexpected end of file" rather than "Unterminated comment", which is not super desirable.)

@sauclovian-g sauclovian-g added type: bug Issues reporting bugs or unexpected/unwanted behavior topics: error-messages Issues involving the messages SAW produces on error needs test Issues for which we should add a regression test tech debt Issues that document or involve technical debt labels Jan 14, 2025
@sauclovian-g sauclovian-g added this to the 2024T3 milestone Jan 14, 2025
@sauclovian-g sauclovian-g self-assigned this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs test Issues for which we should add a regression test tech debt Issues that document or involve technical debt topics: error-messages Issues involving the messages SAW produces on error type: bug Issues reporting bugs or unexpected/unwanted behavior
Projects
None yet
Development

No branches or pull requests

1 participant