From fcf78ceb7b33c6ae32cd3e5a3aae4cc048d14ea9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sat, 4 Dec 2021 21:28:09 -0800 Subject: [PATCH] modules/gnome: fix declared type of list --- mesonbuild/modules/gnome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index f5de07dcf..1932695e8 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -1958,7 +1958,7 @@ class GnomeModule(ExtensionModule): KwargInfo('packages', ContainerTypeInfo(list, (str, InternalDependency)), listify=True, default=[]), ) def generate_vapi(self, state: 'ModuleState', args: T.Tuple[str], kwargs: 'GenerateVapi') -> ModuleReturnValue: - created_values: T.List[Dependency] = [] + created_values: T.List[T.Union[Dependency, build.Data]] = [] library = args[0] build_dir = os.path.join(state.environment.get_build_dir(), state.subdir) source_dir = os.path.join(state.environment.get_source_dir(), state.subdir)