Page MenuHomePhabricator

Fix `LINT_ARRAY_SEPARATOR` for heredocs
ClosedPublic

Authored by joshuaspence on Sep 25 2014, 10:33 PM.
Tags
None
Referenced Files
F18816759: D10569.id25389.diff
Tue, Oct 21, 9:10 AM
F18803274: D10569.id25388.diff
Fri, Oct 17, 10:25 PM
F18798953: D10569.diff
Fri, Oct 17, 10:14 AM
F18208843: D10569.id25388.diff
Aug 18 2025, 9:56 PM
F18090235: D10569.diff
Aug 6 2025, 2:56 PM
Unknown Object (File)
Jun 18 2025, 10:10 PM
Unknown Object (File)
May 10 2025, 7:58 AM
Unknown Object (File)
May 8 2025, 1:49 AM
Subscribers

Details

Summary

It is not correct to add a trailing comma if the n_ARRAY_VALUE node is a heredoc string.

Test Plan

Added a test case.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Fix `LINT_ARRAY_SEPARATOR` for heredocs.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Sep 25 2014, 10:33 PM
This revision was automatically updated to reflect the committed changes.