We will scope the generics parameters into their respective interfaces, and widl would fail to find them as known types when parsing the methods otherwise.
Signed-off-by: Rémi Bernon rbernon@codeweavers.com --- tools/widl/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y index 98bd8949f13..36711ff650c 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -1965,7 +1965,7 @@ type_t *find_type(const char *name, struct namespace *namespace, int t)
static type_t *find_type_or_error(const char *name, int t) { - type_t *type = find_type(name, NULL, t); + type_t *type = find_type(name, current_namespace, t); if (!type) { error_loc("type '%s' not found in %s\n", name, current_namespace->full_name); return NULL;