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
F15426932: D11350.id27270.diff
Sun, Mar 23, 11:42 AM
F15407898: D11350.id.diff
Tue, Mar 18, 8:06 PM
Unknown Object (File)
Feb 23 2025, 4:33 PM
Unknown Object (File)
Feb 23 2025, 6:22 AM
Unknown Object (File)
Feb 8 2025, 1:04 AM
Unknown Object (File)
Feb 8 2025, 1:04 AM
Unknown Object (File)
Feb 8 2025, 1:04 AM
Unknown Object (File)
Feb 8 2025, 1:04 AM
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.