diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-16 11:46:51 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-08-16 12:07:56 -0700 |
commit | aca21924716ea21082114cc98a77aa4068b3ee7b (patch) | |
tree | 1ce7e3b31311b24fd2868f094593601d4459b51a /mesonbuild/interpreter/interpreter.py | |
parent | 1dc13e9951a5ce38edb93718ab5ac7b1bf6616d0 (diff) | |
download | meson-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.py | 3 |
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. |