From d754ee1a7fb2c0d82ed0fe33ebe7c0c6571f79d3 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 10 Aug 2021 11:36:17 -0700 Subject: [PATCH] build: Fix CustomTarget initializer annotation the `output` parameter is a string, not an int. --- mesonbuild/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/build.py b/mesonbuild/build.py index dbd98e402..afe8526c8 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -2567,7 +2567,7 @@ class CustomTargetIndex(HoldableObject): the sources. """ - def __init__(self, target: CustomTarget, output: int): + def __init__(self, target: CustomTarget, output: str): self.typename = 'custom' self.target = target self.output = output