interpreter: Add another overload to source_strings_to_files

Which doesn't have `StructuredSources`, as is actually quite common.
pull/10303/head
Dylan Baker 3 years ago committed by Eli Schwartz
parent 10fc19ecb4
commit d97d3721a3
  1. 3
      mesonbuild/interpreter/interpreter.py

@ -2848,6 +2848,9 @@ Try setting b_lundef to false instead.'''.format(self.coredata.options[OptionKey
@T.overload
def source_strings_to_files(self, sources: T.List['mesonlib.FileOrString'], strict: bool = False) -> T.List['mesonlib.FileOrString']: ... # noqa: F811
@T.overload
def source_strings_to_files(self, sources: T.List[mesonlib.FileOrString, build.GeneratedTypes]) -> T.List[T.Union[mesonlib.File, build.GeneratedTypes]]: ... # noqa: F811
@T.overload
def source_strings_to_files(self, sources: T.List['SourceInputs'], strict: bool = True) -> T.List['SourceOutputs']: ... # noqa: F811

Loading…
Cancel
Save