Page MenuHomePhabricator

show key name when map value is of wrong type
ClosedPublic

Authored by avivey on Jun 26 2015, 6:20 PM.
Tags
None
Referenced Files
F18853605: D13458.diff
Fri, Oct 31, 6:15 PM
F18844554: D13458.id.diff
Wed, Oct 29, 6:26 AM
F18830992: D13458.id32571.diff
Sat, Oct 25, 10:03 AM
F18741960: D13458.diff
Thu, Oct 2, 4:42 PM
F18704309: D13458.id32577.diff
Sep 28 2025, 7:03 AM
F18657371: D13458.id32577.diff
Sep 23 2025, 1:31 AM
F18627874: D13458.id32577.diff
Sep 16 2025, 5:00 AM
F18617355: D13458.id.diff
Sep 14 2025, 8:59 PM

Details

Test Plan

before:

$ arc lint
Exception
Error in parsing '.arclint' file, for linter 'Anonymizable fields'.
Parameter has invalid type. Expected a regular expression, but value is not valid: preg_match(): Delimiter must not be alphanumeric or backslash
(Run with `--trace` for a full exception trace.)

after:

$ arc lint
Exception
Error in parsing '.arclint' file, for linter 'Anonymizable fields'.
Parameter 'script-and-regex.regex' has invalid type. Expected a regular expression, but value is not valid: preg_match(): Delimiter must not be alphanumeric or backslash
(Run with `--trace` for a full exception trace.)

Diff Detail

Repository
rPHU libphutil
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7027
Build 7108: [Placeholder Plan] Wait for 30 Seconds
Build 7107: arc lint + arc unit

Event Timeline

avivey retitled this revision from to show key name when map value is of wrong type.
avivey updated this object.
avivey edited the test plan for this revision. (Show Details)
avivey added reviewers: epriestley, joshuaspence.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 26 2015, 8:21 PM
This revision was automatically updated to reflect the committed changes.