Skip to content

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