Commit 7377011
committed
Use position-bytes function instead of point
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.1 parent c5328bb commit 7377011
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments