interpreter: use build.GeneratedTypes

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
pull/7897/head
Paolo Bonzini 3 years ago committed by Dylan Baker
parent 901f444ea5
commit 10329a1ebc
  1. 2
      mesonbuild/interpreter/interpreterobjects.py

@ -971,7 +971,7 @@ class GeneratorHolder(ObjectHolder[build.Generator]):
KwargInfo('extra_args', ContainerTypeInfo(list, str), listify=True, default=[]),
)
def process_method(self,
args: T.Tuple[T.List[T.Union[str, mesonlib.File, build.CustomTarget, build.CustomTargetIndex, build.GeneratedList]]],
args: T.Tuple[T.List[T.Union[str, mesonlib.File, 'build.GeneratedTypes']]],
kwargs: 'kwargs.GeneratorProcess') -> build.GeneratedList:
preserve_path_from = kwargs['preserve_path_from']
if preserve_path_from is not None:

Loading…
Cancel
Save