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

Use position-bytes function instead of point #46

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Conversation

zonuexe
Copy link
Member

@zonuexe zonuexe commented Aug 8, 2018

I thought this was intuitively a problem of phpactor/worse-reflection, but in fact it is a problem of Tolerant PHP Parser.

In modern environments it is obsolete to operate in byte units instead of character units, but Tolerant PHP Parser's current implementation adopt byte offsets.

I thought this was intuitively a problem of phpactor/worse-reflection,
but in fact it is a problem of Tolerant PHP Parser.
https://github.com/Microsoft/tolerant-php-parser

In modern environments it is obsolete to operate in byte units instead
of character units, but Tolerant PHP Parser's current implementation
adopt byte offsets.
@zonuexe zonuexe added the bug Something isn't working label Aug 8, 2018
@zonuexe zonuexe self-assigned this Aug 8, 2018
@zonuexe zonuexe merged commit 1174d43 into master Aug 8, 2018
@zonuexe zonuexe deleted the fix/bytes-offset branch August 8, 2018 12:56
@zonuexe
Copy link
Member Author

zonuexe commented Aug 8, 2018

refs #40 and phpactor/phpactor#539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant