Homec4science

show key name when map value is of wrong type

Authored by Aviv Eyal <avivey@gmail.com> on Jun 26 2015, 22:21.

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
epriestley <git@epriestley.com>Jun 26 2015, 22:21
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU992abe4a420c: Minor spelling fixes
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUea6830cc8019: show key name when map value is of wrong type (authored by Aviv Eyal <avivey@gmail.com>).Jun 26 2015, 22:21