Page MenuHomePhabricator

Improve lint handling of `declare()` special statement blocks
ClosedPublic

Authored by joshuaspence on Jan 12 2015, 8:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 1:04 AM
Unknown Object (File)
Sat, Feb 8, 1:04 AM
Unknown Object (File)
Sat, Feb 8, 1:04 AM
Unknown Object (File)
Sat, Feb 8, 1:04 AM
Unknown Object (File)
Sun, Feb 2, 9:50 PM
Unknown Object (File)
Thu, Jan 30, 5:51 AM
Unknown Object (File)
Tue, Jan 28, 3:14 AM
Unknown Object (File)
Thu, Jan 23, 9:28 PM
Subscribers

Details

Summary

Fixes T6830. Don't require n_STATEMENT nested under n_DECLARE to be written using braces.

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 Improve lint handling of `declare()` special statement blocks.
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.Jan 12 2015, 8:22 PM
This revision was automatically updated to reflect the committed changes.