From 35dbf7e6d4da945fbddd78674d686ace95f41e2c Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 21 Jul 2021 11:00:43 -0700 Subject: interpreter: fix overload for `source_strings_to_files` --- mesonbuild/interpreter/interpreter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 535229cb1..7aa2d2741 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -2434,6 +2434,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. -- cgit v1.2.3