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

Add line number tracking for Errors #1

Merged
merged 5 commits into from
May 28, 2022

Conversation

maxslarsson
Copy link
Member

@maxslarsson maxslarsson commented May 28, 2022

This adds support for line numbers to our feature-iterator branch. This adds a custom iterator that internally keeps track of our location in the program. Whenever we create an Error we also give it the location from our iterator.

@maxslarsson maxslarsson requested a review from thomasbreydo May 28, 2022 22:18
Copy link
Contributor

@thomasbreydo thomasbreydo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay, first PR! Just a few small things :D

@maxslarsson maxslarsson merged commit 0038847 into feature-iterator May 28, 2022
@maxslarsson maxslarsson deleted the feature-line-numbers branch May 28, 2022 22:40
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