Skip to content

fix(js): handle comment-only lines before group children - #84

Merged
jagalindo merged 1 commit into
Universal-Variability-Language:conformance-fixesfrom
joszamama:fix/js-comment-only-line
Nov 18, 2026
Merged

jagalindo merged 1 commit into
Universal-Variability-Language:conformance-fixesfrom
joszamama:fix/js-comment-only-line

Conversation

@joszamama

Copy link
Copy Markdown

JavaScript now skips the newline before a comment-only line, while preserving it when code follows a block comment on that line. Adds the // group-child regression model.

Fixes #80.

Tests: JavaScript 84, Python 85, Java 84 passed. All four fixes together also pass: JavaScript 86, Python 92, Java 86.

@jagalindo

jagalindo commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Thanks for this, and for the detailed reports behind it.

Because of the large number of proposals that arrived together, we have created a dedicated branch, conformance-fixes, to collect them. This PR was retargeted to that branch and merged there, together with #81, #82, #83 and #84.

You can use conformance-fixes to test, and to open PRs with further changes and with any other bugs you find. The grammar tests run on the branch after each merge.

The development team will go through the branch in the next UVL meeting and will merge it into main after testing the effect of the changes on all the ecosystem tooling. You are welcome to join that meeting if you would like to take part.

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.

2 participants