Page MenuHomePhabricator

Improve strictness around `setLine()` types in ArcanistLintMessage
ClosedPublic

Authored by epriestley on Jul 23 2015, 8:17 PM.
Tags
None
Referenced Files
F13186187: D13695.diff
Sat, May 11, 3:28 AM
F13175908: D13695.id33102.diff
Wed, May 8, 8:40 AM
Unknown Object (File)
Tue, May 7, 6:16 AM
Unknown Object (File)
Fri, May 3, 3:56 AM
Unknown Object (File)
Thu, May 2, 8:29 PM
Unknown Object (File)
Mon, Apr 29, 4:05 PM
Unknown Object (File)
Mon, Apr 29, 3:40 PM
Unknown Object (File)
Wed, Apr 24, 11:53 PM
Subscribers

Details

Summary

Fixes T8921. Harbormaster is strict about types it accepts, but ArcanistLintMessage is more liberal. Push the strictness barrier down to the linter level, while maintaining reasonable flexibility in the API.

Test Plan

arc unit --everything

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve strictness around `setLine()` types in ArcanistLintMessage.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: btrahan, chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 23 2015, 8:19 PM
This revision was automatically updated to reflect the committed changes.