TraitUse tests
This commit is contained in:
476
php7/php7.go
476
php7/php7.go
File diff suppressed because it is too large
Load Diff
@@ -1207,12 +1207,8 @@ trait_adaptation:
|
||||
trait_precedence:
|
||||
absolute_trait_method_reference T_INSTEADOF name_list
|
||||
{
|
||||
name := name.NewName($3)
|
||||
positions.AddPosition(name, positionBuilder.NewNodeListPosition($3))
|
||||
$$ = stmt.NewTraitUsePrecedence($1, name)
|
||||
$$ = stmt.NewTraitUsePrecedence($1, $3)
|
||||
positions.AddPosition($$, positionBuilder.NewNodeNodeListPosition($1, $3))
|
||||
|
||||
comments.AddComments(name, ListGetFirstNodeComments($3))
|
||||
comments.AddComments($$, comments[$1])
|
||||
}
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user