Page MenuHomePhabricator

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

Authored by epriestley on Jul 23 2015, 8:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 11:53 PM
Unknown Object (File)
Mon, Apr 22, 8:28 AM
Unknown Object (File)
Mon, Apr 22, 8:28 AM
Unknown Object (File)
Thu, Apr 11, 8:10 AM
Unknown Object (File)
Mar 28 2024, 1:35 PM
Unknown Object (File)
Mar 10 2024, 3:16 PM
Unknown Object (File)
Mar 10 2024, 3:09 PM
Unknown Object (File)
Mar 10 2024, 2:23 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.