Page MenuHomePhabricator

Fix `LINT_ARRAY_SEPARATOR` for heredocs
ClosedPublic

Authored by joshuaspence on Sep 25 2014, 10:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 12:09 AM
Unknown Object (File)
Fri, Dec 20, 12:09 AM
Unknown Object (File)
Dec 10 2024, 11:34 PM
Unknown Object (File)
Nov 10 2024, 1:59 PM
Unknown Object (File)
Nov 10 2024, 11:15 AM
Unknown Object (File)
Oct 20 2024, 3:09 AM
Unknown Object (File)
Oct 18 2024, 1:01 AM
Unknown Object (File)
Oct 17 2024, 11:42 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.