aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-16 11:46:51 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-08-16 12:07:56 -0700
commitaca21924716ea21082114cc98a77aa4068b3ee7b (patch)
tree1ce7e3b31311b24fd2868f094593601d4459b51a /mesonbuild/interpreter/interpreter.py
parent1dc13e9951a5ce38edb93718ab5ac7b1bf6616d0 (diff)
downloadmeson-aca21924716ea21082114cc98a77aa4068b3ee7b.zip
meson-aca21924716ea21082114cc98a77aa4068b3ee7b.tar.gz
meson-aca21924716ea21082114cc98a77aa4068b3ee7b.tar.bz2
interpreter: fix `source_strings_to_files` annotations
It's missing a required overload declaration
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index ab7efa0..6694c19 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/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.