From: Hans Leidekker <hans(a)codeweavers.com> --- tools/widl/parser.y | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/widl/parser.y b/tools/widl/parser.y index cf0f050d804..946eea7ec0c 100644 --- a/tools/widl/parser.y +++ b/tools/widl/parser.y @@ -2982,6 +2982,10 @@ static void check_constructor_interfaces( const type_t *runtimeclass ) if (attr->type == ATTR_ACTIVATABLE) { if (value->type != EXPR_MEMBER) continue; + + if (!value->u.var->declspec.type->defined) + error_at( &attr->where, "activation interface %s is undefined\n", value->u.var->declspec.type->name ); + check_activation_interface( value->u.var->declspec.type ); } else if (attr->type == ATTR_COMPOSABLE) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8776