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

Handle nil/negative pos for invalid nodes #24

Open
quasilyte opened this issue Aug 15, 2019 · 0 comments
Open

Handle nil/negative pos for invalid nodes #24

quasilyte opened this issue Aug 15, 2019 · 0 comments

Comments

@quasilyte
Copy link
Owner

Sometimes nodes have nil positions.
This causes code to panic when attempting to use that nil position.

If we can handle it, it should be handled.
If it can't be handled in a nice way, at least phpgrep should not panic.

quasilyte added a commit that referenced this issue Aug 15, 2019
Updates #24

Signed-off-by: Iskander Sharipov <[email protected]>
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

No branches or pull requests

1 participant