Skip to content

Allow comments in refactoring test files#812

Merged
jackfirth merged 2 commits into
masterfrom
allow-comments-in-refactoring-tests
Jul 13, 2026
Merged

Allow comments in refactoring test files#812
jackfirth merged 2 commits into
masterfrom
allow-comments-in-refactoring-tests

Conversation

@jackfirth

@jackfirth jackfirth commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Fixes #350. The test language tokenizer now skips // comment lines between statements, like it already does for whitespace, so they never reach the grammar. Comments inside code blocks are untouched.

🤖 Generated with Claude Code

Skip semicolon comment lines in the test language tokenizer's
initial lexer, the same way whitespace is skipped, so they never
reach the grammar. Comments are only recognized between statements,
not inside code blocks, where a semicolon stays part of the code.

Fixes #350

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Docs preview: https://resyntax.notjack.space/preview/812/

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resyntax analyzed 2 files in this pull request and found no issues.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 95.329%. remained the same — allow-comments-in-refactoring-tests into master

// reads as a comment to people unfamiliar with Racket, who are a
common audience for these test files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jackfirth
jackfirth enabled auto-merge (squash) July 13, 2026 02:12

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resyntax analyzed 2 files in this pull request and found no issues.

@jackfirth
jackfirth merged commit 90c0e68 into master Jul 13, 2026
10 checks passed
@jackfirth
jackfirth deleted the allow-comments-in-refactoring-tests branch July 13, 2026 02:18
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.

Can't write comments in refactoring tests

2 participants