HomePhabricator

show key name when map value is of wrong type

Authored by avivey.

Description

show key name when map value is of wrong type

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.)

Reviewers: joshuaspence, epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: eadler, epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13458

Details

Committed
epriestleyJun 26 2015, 8:21 PM
Pushed
epriestleyJun 26 2015, 8:22 PM
Reviewer
Blessed Reviewers
Differential Revision
D13458: show key name when map value is of wrong type
Parents
rPHU992abe4a420c: Minor spelling fixes
Branches
Unknown
Tags
Unknown