diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-10 11:40:06 -0700 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-20 18:57:19 +0200 |
commit | 3a45c5a7ce5e947d7b664211049f7d4023b96ed1 (patch) | |
tree | ec0f588df36dc3284b2166cf57bef0203eb6c993 | |
parent | e938ffb763cc7c050cff990e2e3e9774c28c8862 (diff) | |
download | meson-3a45c5a7ce5e947d7b664211049f7d4023b96ed1.zip meson-3a45c5a7ce5e947d7b664211049f7d4023b96ed1.tar.gz meson-3a45c5a7ce5e947d7b664211049f7d4023b96ed1.tar.bz2 |
build: Add type annotations to Target.get_debug_filename
-rw-r--r-- | mesonbuild/build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py index 494b6ba..9a13531 100644 --- a/mesonbuild/build.py +++ b/mesonbuild/build.py @@ -1744,7 +1744,7 @@ class Executable(BuildTarget): return [self.vs_import_filename, self.gcc_import_filename] return [] - def get_debug_filename(self): + def get_debug_filename(self) -> T.Optional[str]: """ The name of debuginfo file that will be created by the compiler @@ -2087,7 +2087,7 @@ class SharedLibrary(BuildTarget): """ return self.import_filename - def get_debug_filename(self): + def get_debug_filename(self) -> T.Optional[str]: """ The name of debuginfo file that will be created by the compiler |