-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add annotation positions to schema error messages #552
Conversation
gcheadle-vmware
commented
Nov 24, 2021
- only implemented on syntax errors when creating schema
f04a5a2
to
cf97145
Compare
annPositions []*filepos.Position | ||
position *filepos.Position |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to merge these into a single slice of Position
s? I dug in a bit and it looked feasible.
If we could, it would simplify a bunch of code.
Still wanting to follow up on the error output case for multiple file names within a slice of positions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With these suggestions, take on what you agree with...
otherwise LGTM. 👍🏻