interpreter: fix `source_strings_to_files` annotations

It's missing a required overload declaration
pull/9126/head
Dylan Baker 3 years ago
parent 1dc13e9951
commit aca2192471
  1. 3
      mesonbuild/interpreter/interpreter.py

@ -2424,6 +2424,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']) -> T.List['mesonlib.File']: ...
@T.overload
def source_strings_to_files(self, sources: T.List['SourceInputs']) -> T.List['SourceOutputs']: ...
def source_strings_to_files(self, sources: T.List['SourceInputs']) -> T.List['SourceOutputs']:
"""Lower inputs to a list of Targets and Files, replacing any strings.

Loading…
Cancel
Save