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

Feat!: add line number information to lineInfo #35

Merged
merged 2 commits into from
Apr 5, 2024

Conversation

j-mie6
Copy link
Owner

@j-mie6 j-mie6 commented Apr 5, 2024

This threads the line number of an error message through to the lineInfo component of the error message. This allows the user to compute accurate relative line numbers early in the formatting process, which should allow for more easy formatting of line-indexed error context.

@j-mie6 j-mie6 linked an issue Apr 5, 2024 that may be closed by this pull request
@j-mie6 j-mie6 merged commit 813d839 into main Apr 5, 2024
16 checks passed
@j-mie6 j-mie6 deleted the feat/lineInfo-has-line-number branch April 5, 2024 11:43
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.

lineInfo in ErrorBuilder typeclass does not have access to the line number
1 participant