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

Make all row numbers one-based for consistency #873

Merged
merged 3 commits into from Aug 18, 2023

Conversation

abyrd
Copy link
Member

@abyrd abyrd commented Mar 17, 2023

Some error messages (particularly those produced in post-validation) had row numbers based on entity.sourceFileLine which is one-based, while others used raw zero-based row numbers.

In testing all sorts of error messages now appear to consistently match the line numbers shown in text editors.

abyrd and others added 3 commits March 17, 2023 21:36
Some error messages (particularly those produced in post-validation)
had row numbers based on entity.sourceFileLine which is one-based,
while others used raw zero-based row numbers.
@abyrd abyrd marked this pull request as ready for review August 17, 2023 10:47
@abyrd abyrd enabled auto-merge August 17, 2023 10:47
@abyrd abyrd merged commit fe6ac7d into dev Aug 18, 2023
3 checks passed
@abyrd abyrd deleted the one-based-error-line-numbers branch August 18, 2023 21:32
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.

None yet

2 participants