GH-378: check validity of missing 'val' field in Input::add_table

It's only allowed to be missing when the 'destination' field is a
"set" type, but not for a "table" type.

Fixes GH-378
This commit is contained in:
Jon Siwek 2019-05-24 10:23:20 -07:00
parent 88278214a9
commit d886f40728
5 changed files with 20 additions and 1 deletions

View file

@ -38,4 +38,5 @@ error: Input stream error2: Error event's first attribute must be of type Input:
error: Input stream error3: Error event's first attribute must be of type Input::EventDescription
error: Input stream error4: Error event's second attribute must be of type string
error: Input stream error5: Error event's third attribute must be of type Reporter::Level
error: Input stream error6: 'destination' field is a table, but 'val' field is not provided (did you mean to use a set instead of a table?)
received termination signal