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)
Thu, Feb 6, 5:34 PM
Unknown Object (File)
Tue, Feb 4, 1:55 AM
Unknown Object (File)
Tue, Feb 4, 1:55 AM
Unknown Object (File)
Mon, Jan 27, 9:22 PM
Unknown Object (File)
Mon, Jan 27, 4:07 PM
Unknown Object (File)
Sat, Jan 25, 9:31 PM
Unknown Object (File)
Sat, Jan 25, 4:14 PM
Unknown Object (File)
Fri, Jan 24, 6:26 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.