Page MenuHomePhabricator

Fix XHPAST parsing of variadic calls
ClosedPublic

Authored by epriestley on Apr 7 2020, 9:12 PM.
Tags
None
Referenced Files
F19134609: D21067.id.diff
Dec 10 2025, 8:28 AM
F19057963: D21067.diff
Nov 29 2025, 12:32 AM
F18833124: D21067.diff
Oct 26 2025, 12:50 AM
F18783211: D21067.diff
Oct 13 2025, 4:52 AM
F18709442: D21067.diff
Sep 29 2025, 12:12 AM
F18704337: D21067.id50186.diff
Sep 28 2025, 7:14 AM
F18673923: D21067.id50192.diff
Sep 25 2025, 12:33 PM
F18599732: D21067.diff
Sep 13 2025, 8:05 AM
Subscribers
None

Details

Summary

Depends on D21066. Ref T13492. The switch of unit test data to stable/readable output exposed this bug in parsing of variadic calls: some nodes are not given types properly.

Fix the parser and update the test.

Test Plan

Ran the test, which now works.

Diff Detail

Repository
rARC Arcanist
Branch
xhpast5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24005
Build 33040: Run Core Tests
Build 33039: arc lint + arc unit