Browse Source
It is bad that same key was specified twice, especially when a union has two branches with same condition. This patch can prevent it. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>pull/10/merge
committed by
Luiz Capitulino
6 changed files with 8 additions and 1 deletions
@ -0,0 +1 @@ |
|||||
|
<stdin>:2:10: Duplicate key "key" |
||||
@ -0,0 +1 @@ |
|||||
|
1 |
||||
@ -0,0 +1,2 @@ |
|||||
|
{ 'key': 'value', |
||||
|
'key': 'value' } |
||||
Loading…
Reference in new issue