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
F13087602: D13458.diff
Thu, Apr 25, 1:01 AM
F13087290: D13458.diff
Thu, Apr 25, 12:56 AM
Unknown Object (File)
Mon, Apr 8, 3:37 PM
Unknown Object (File)
Mar 10 2024, 5:12 AM
Unknown Object (File)
Feb 11 2024, 3:31 AM
Unknown Object (File)
Feb 8 2024, 3:38 AM
Unknown Object (File)
Feb 6 2024, 1:15 AM
Unknown Object (File)
Feb 6 2024, 12:37 AM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.