Page MenuHomePhabricator

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

Authored by epriestley on Jul 23 2015, 8:17 PM.
Tags
None
Referenced Files
F14807772: D13695.id33102.diff
Sun, Jan 26, 12:00 PM
F14807771: D13695.diff
Sun, Jan 26, 12:00 PM
Unknown Object (File)
Fri, Jan 24, 7:44 AM
Unknown Object (File)
Fri, Jan 24, 7:44 AM
Unknown Object (File)
Fri, Jan 24, 7:44 AM
Unknown Object (File)
Fri, Jan 24, 7:44 AM
Unknown Object (File)
Fri, Jan 24, 6:46 AM
Unknown Object (File)
Wed, Jan 22, 2:14 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
Branch
lineint
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7371
Build 7782: [Placeholder Plan] Wait for 30 Seconds
Build 7781: arc lint + arc unit

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.