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

Fix yaml validation locations #349

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Fix yaml validation locations #349

merged 2 commits into from
Jan 15, 2025

Conversation

Yogu
Copy link
Member

@Yogu Yogu commented Jan 14, 2025

No description provided.

Yogu added 2 commits January 14, 2025 20:08
…rse errors

We returned a plain object that stood in for a SourcePosition, but
MessageLocation does instanceof SourcePosition checks. Also added a
safeguard to the constructor now.
We previously generated locations where the start position was after the
end position.
@Yogu Yogu merged commit 23fae71 into main Jan 15, 2025
20 checks passed
@Yogu Yogu deleted the fix-yaml-validation-locations branch January 15, 2025 14:19
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