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)
Tue, May 6, 6:22 PM
Unknown Object (File)
Wed, Apr 23, 12:46 PM
Unknown Object (File)
Sat, Apr 19, 11:36 PM
Unknown Object (File)
Sat, Apr 19, 11:36 PM
Unknown Object (File)
Apr 16 2025, 8:28 PM
Unknown Object (File)
Apr 16 2025, 8:28 PM
Unknown Object (File)
Apr 11 2025, 7:32 PM
Unknown Object (File)
Apr 10 2025, 4:49 AM
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.