diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-12-20 12:05:58 -0800 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-03-09 15:03:03 -0500 |
commit | 853c16cbed6628eee80aa98e74988922518dab29 (patch) | |
tree | 7d164c383c8d8a3ff9b8d0332d3213a028c02b8a | |
parent | 43abd62ecc1377b6fec67f77cc8843e844b46bc8 (diff) | |
download | meson-853c16cbed6628eee80aa98e74988922518dab29.zip meson-853c16cbed6628eee80aa98e74988922518dab29.tar.gz meson-853c16cbed6628eee80aa98e74988922518dab29.tar.bz2 |
interpreter: Add missing Union annotation
-rw-r--r-- | mesonbuild/interpreter/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index 0c058f6..5259186 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -3040,7 +3040,7 @@ class Interpreter(InterpreterBase, HoldableObject): 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 + def source_strings_to_files(self, sources: T.List[T.Union[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 |