From 6653a381cb10d34c39bd0feba71d4221a92ca44b Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 18 Dec 2020 16:15:28 +0100 Subject: [PATCH] widl: Don't apply call_as methods to async interface. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- tools/widl/parser.y | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 1d413ca74f4..b729d772fcd 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2940,6 +2940,8 @@ static void check_async_uuid(type_t *iface) var_t *begin_func, *finish_func, *func = stmt->u.var, *arg; var_list_t *begin_args = NULL, *finish_args = NULL, *args; + if (is_attr(func->attrs, ATTR_CALLAS)) continue; + args = type_function_get_args(func->declspec.type); if (args) LIST_FOR_EACH_ENTRY(arg, args, var_t, entry) {