Page MenuHomePhabricator

Include parentheses in n_ARRAY_VALUE_LIST node
ClosedPublic

Authored by joshuaspence on Aug 11 2015, 10:54 AM.
Tags
None
Referenced Files
F15510496: D13858.id33485.diff
Wed, Apr 16, 8:15 PM
F15510495: D13858.id33482.diff
Wed, Apr 16, 8:15 PM
F15510494: D13858.id33473.diff
Wed, Apr 16, 8:15 PM
F15510493: D13858.id.diff
Wed, Apr 16, 8:15 PM
F15510492: D13858.diff
Wed, Apr 16, 8:15 PM
F15506403: D13858.diff
Tue, Apr 15, 10:56 AM
F15471766: D13858.id33484.diff
Sat, Apr 5, 8:02 AM
F15462898: D13858.id33482.diff
Tue, Apr 1, 6:42 PM
Subscribers

Details

Summary

Currently parsing array(1, 2, 3) results in a n_ARRAY_VALUE_LIST with a concrete string of 1, 2, 3. Compare this to list($x, $y) which results in a n_ASSIGNMENT_LIST with a concrete string of ($x, $y).

Test Plan

See next diff.

Diff Detail

Repository
rPHU libphutil
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7591
Build 8222: [Placeholder Plan] Wait for 30 Seconds
Build 8221: arc lint + arc unit

Event Timeline

joshuaspence retitled this revision from to Include parentheses in n_ARRAY_VALUE_LIST node.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.

Fix for list($i, list($j, $k)) = y()

epriestley edited edge metadata.

Also bump version?

This revision is now accepted and ready to land.Aug 11 2015, 12:28 PM
This revision was automatically updated to reflect the committed changes.