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 expressions array in compile #95

Closed
wants to merge 0 commits into from

Conversation

orengriffin
Copy link

fixes issue 93# i encountered

this is a very naive fix.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 75.352% when pulling 12e6f8a on Optibus:fix-first-line into e80b5ba on benbria:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 75.352% when pulling 12e6f8a on Optibus:fix-first-line into e80b5ba on benbria:master.

line = if node.locationData?
node.locationData.first_line
else
throw new Error
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand this fix - doesn't this throw new Error stop us from reaching the next line? O_o

Copy link
Author

Choose a reason for hiding this comment

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

correct, silly line (177).
i removed it.

Copy link
Author

Choose a reason for hiding this comment

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

made a git mistake so i will reopen the pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Crash during parsing
3 participants