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
Unknown Object (File)
Tue, Dec 17, 6:53 AM
Unknown Object (File)
Wed, Dec 11, 12:54 AM
Unknown Object (File)
Sun, Dec 8, 11:51 AM
Unknown Object (File)
Thu, Dec 5, 12:10 PM
Unknown Object (File)
Thu, Dec 5, 6:22 AM
Unknown Object (File)
Sat, Nov 30, 3:21 AM
Unknown Object (File)
Thu, Nov 28, 4:46 PM
Unknown Object (File)
Thu, Nov 28, 2:15 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
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.