diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2023-01-06 11:28:44 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2023-01-10 09:53:22 -0800 |
commit | 57c59d3b9913c4364d681f5920ab84ceabf7f6b2 (patch) | |
tree | 544bfdaea1018cd4d8480bd0028c7e779eb751cb /mesonbuild/modules | |
parent | afa8e31cf3d3bb4dba43735252e199013a7d33d3 (diff) | |
download | meson-57c59d3b9913c4364d681f5920ab84ceabf7f6b2.zip meson-57c59d3b9913c4364d681f5920ab84ceabf7f6b2.tar.gz meson-57c59d3b9913c4364d681f5920ab84ceabf7f6b2.tar.bz2 |
modules/icestorm: fix type annotations
This is also due to the incorrect annotations of state.find_program()
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r-- | mesonbuild/modules/icestorm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/icestorm.py b/mesonbuild/modules/icestorm.py index c579148..8c1c6f1 100644 --- a/mesonbuild/modules/icestorm.py +++ b/mesonbuild/modules/icestorm.py @@ -40,7 +40,7 @@ class IceStormModule(ExtensionModule): def __init__(self, interpreter: Interpreter) -> None: super().__init__(interpreter) - self.tools: T.Dict[str, ExternalProgram] = {} + self.tools: T.Dict[str, T.Union[ExternalProgram, build.Executable]] = {} self.methods.update({ 'project': self.project, }) |