Php-parser: 3.0 Usegroup location is wrong

Created on 21 Mar 2018  路  3Comments  路  Source: glayzzle/php-parser

image

Seems like the usegroup loc end is inclusive of comments that fall after it (don't think it should)

bug AST

Most helpful comment

it's fixed

All 3 comments

Interestingly enough, it only happens when the extractDoc: true setting is enabled. When its not, the locEnd is correctly parsed as 4

it's fixed

awesome thanks @ichiriac!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexander-akait picture alexander-akait  路  5Comments

aameen951 picture aameen951  路  7Comments

nevadascout picture nevadascout  路  3Comments

alexander-akait picture alexander-akait  路  8Comments

chris-l picture chris-l  路  7Comments