Page MenuHomePhabricator

Make "line" and "char" strictly optional in ArcanistLintMessage
ClosedPublic

Authored by epriestley on Oct 17 2017, 9:23 PM.
Tags
None
Referenced Files
F15488439: D18711.id44921.diff
Thu, Apr 10, 10:26 PM
F15486083: D18711.id44923.diff
Thu, Apr 10, 4:51 AM
F15482478: D18711.id.diff
Wed, Apr 9, 5:44 AM
F15480210: D18711.diff
Tue, Apr 8, 12:43 PM
F15430815: D18711.diff
Mon, Mar 24, 9:06 AM
F15407592: D18711.id44921.diff
Tue, Mar 18, 6:32 PM
F15400939: D18711.diff
Mon, Mar 17, 2:50 PM
F15357223: D18711.id44923.diff
Mar 11 2025, 6:37 AM
Subscribers
None

Details

Summary

See PHI136. These are already optional on the server side in HarbormasterBuildLintMessage, and effectively mean "file-level issue", which is a bit niche but not unreasonable.

Test Plan

Checked that HarbormasterBuildLintMessage doesn't care if these keys exist, created this revision.

Diff Detail

Repository
rARC Arcanist
Branch
optional1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18699
Build 25190: Run Core Tests
Build 25189: arc lint + arc unit