Page MenuHomePhabricator

Fix `LINT_ARRAY_SEPARATOR` for heredocs
ClosedPublic

Authored by joshuaspence on Sep 25 2014, 10:33 PM.
Tags
None
Referenced Files
F15391981: D10569.id25389.diff
Sat, Mar 15, 12:41 PM
Unknown Object (File)
Thu, Feb 20, 1:43 AM
Unknown Object (File)
Feb 14 2025, 2:05 PM
Unknown Object (File)
Feb 6 2025, 5:34 PM
Unknown Object (File)
Feb 4 2025, 1:55 AM
Unknown Object (File)
Feb 4 2025, 1:55 AM
Unknown Object (File)
Jan 27 2025, 9:22 PM
Unknown Object (File)
Jan 27 2025, 4:07 PM
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.