Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange ast with list #150

Closed
alexander-akait opened this issue Apr 13, 2018 · 1 comment
Closed

strange ast with list #150

alexander-akait opened this issue Apr 13, 2018 · 1 comment
Assignees

Comments

@alexander-akait
Copy link
Collaborator

Input:

list("id" => $id1, "name" => $name1) = $data[0];

Output:

 List {
        kind: 'list',
        loc: 
         Location {
           source: null,
           start: Position { line: 29, column: 0, offset: 730 },
           end: Position { line: 29, column: 36, offset: 766 } },
        arguments: [ [ 'key', [Object], [Object] ], [ 'key', [Object], [Object] ] ] }

It is expected behavior?

@ichiriac
Copy link
Member

Oups, it's a very old form of AST from the first 0.x version. I've missed to update it when I've done changes on nodes. It will be the same node as arrays array("id" => $id1, "name" => $name1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants