Skip to content

fix: accept trailing spaces at end of UVL files - #82

Merged
jagalindo merged 1 commit into
Universal-Variability-Language:conformance-fixesfrom
joszamama:fix/trailing-spaces-eof
Nov 18, 2026
Merged

jagalindo merged 1 commit into
Universal-Variability-Language:conformance-fixesfrom
joszamama:fix/trailing-spaces-eof

Conversation

@joszamama

Copy link
Copy Markdown

Java and JavaScript now skip a whitespace-only final line before EOF, allowing the usual dedent handling to finish the model. Adds a shared regression model with trailing spaces and no final newline.

Fixes #78.

Tests: Java 84, JavaScript 84, Python 85 passed.

@jagalindo
jagalindo changed the base branch from develop to conformance-fixes November 18, 2026 20:38
@jagalindo
jagalindo merged commit 65cbbcd into Universal-Variability-Language:conformance-fixes Nov 18, 2026
@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