[refactoring] update ast structure of "ExprMethodCall" and "ExprPropertyFetch" nodes
This commit is contained in:
@@ -17236,6 +17236,8 @@ func TestExprPrint(t *testing.T) {
|
||||
assert.DeepEqual(t, expected, actual)
|
||||
}
|
||||
|
||||
// TODO add test for `echo $a->b["c"]()->d["e"]();`
|
||||
|
||||
func TestExprPropertyFetch(t *testing.T) {
|
||||
src := `<? $a->foo;`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user