qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 05/14] qapi: Improve error message for unexpected array types


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 05/14] qapi: Improve error message for unexpected array types
Date: Thu, 16 Mar 2023 08:41:14 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 16/3/23 08:13, Markus Armbruster wrote:
We reject array types in certain places with "cannot be an array".
Deleting this check improves the error message to "should be a type
name" or "should be an object or type name", depending on context, so
do that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
  scripts/qapi/expr.py                     | 6 ------
  tests/qapi-schema/bad-data.err           | 2 +-
  tests/qapi-schema/union-array-branch.err | 2 +-
  3 files changed, 2 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]