1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-02 09:17:58 +01:00
PHP-Parser/test/code/formatPreservation/traitAlias.test
Nikita Popov b241a121a3 Fix trait alias to semi-reserved name parsing
This was missing the explicit construction of an Identifier node.
2017-10-29 14:15:48 +01:00

19 lines
184 B
Plaintext

Trait alias
-----
<?php
class X {
use T {
exit
as die;
}
}
-----
/* do nothing */
-----
<?php
class X {
use T {
exit
as die;
}
}