Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

  • Strip trailing semicolons from line comments in lexer, since
    semicolons are statement terminators and should not be part of
    comment text. This prevents double semicolons in formatted output.

  • Add normalizeForFormat function in test that strips trailing
    semicolons before comparison, making tests pass regardless of
    whether the original query had a trailing semicolon.

  • Enable 47 tests that now pass the format roundtrip test by
    removing the todo_format flag from their metadata.json files.

- Strip trailing semicolons from line comments in lexer, since
  semicolons are statement terminators and should not be part of
  comment text. This prevents double semicolons in formatted output.

- Add normalizeForFormat function in test that strips trailing
  semicolons before comparison, making tests pass regardless of
  whether the original query had a trailing semicolon.

- Enable 47 tests that now pass the format roundtrip test by
  removing the todo_format flag from their metadata.json files.
@kyleconroy kyleconroy merged commit 01eed7c into main Dec 27, 2025
1 check passed
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.

3 participants