aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-07-27 13:23:50 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-09-24 09:47:38 -0700
commit27fd7b14e70d5e2d3455de59511b88c234354901 (patch)
tree9a179fa2a57ee3fa1e4f408c4c9f33842f26fc13 /mesonbuild
parent88e5ff0575cb003585eeacef5aefef3e425d44ea (diff)
downloadmeson-27fd7b14e70d5e2d3455de59511b88c234354901.zip
meson-27fd7b14e70d5e2d3455de59511b88c234354901.tar.gz
meson-27fd7b14e70d5e2d3455de59511b88c234354901.tar.bz2
interpreter/mesonmain: fix type annotations
Taht should have been converted to build/program module objects, not interpterter objects
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/interpreter/mesonmain.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/interpreter/mesonmain.py b/mesonbuild/interpreter/mesonmain.py
index 9c4f50a..4e12871 100644
--- a/mesonbuild/interpreter/mesonmain.py
+++ b/mesonbuild/interpreter/mesonmain.py
@@ -72,9 +72,9 @@ class MesonMain(MesonInterpreterObject):
def _process_script_args(
self, name: str, args: T.List[T.Union[
- str, mesonlib.File, CustomTargetHolder,
- CustomTargetIndexHolder,
- ExternalProgramHolder, ExecutableHolder,
+ str, mesonlib.File, build.CustomTarget,
+ build.CustomTargetIndex,
+ ExternalProgram, build.Executable,
]], allow_built: bool = False) -> T.List[str]:
script_args = [] # T.List[str]
new = False