aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/d.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-09-24 23:40:52 +0300
committerGitHub <noreply@github.com>2021-09-24 23:40:52 +0300
commitfee5cb697c77156f0dec4264ce846dd0d4f84fd5 (patch)
tree3285c253624f75b104c28e71a0a81ac8caff1cc3 /mesonbuild/compilers/d.py
parent68c23a61203fc35dd11c7a0b1cc13f7cc2c5cf8c (diff)
parent5a69dbe0cb500fe1a2be2e07219b58b1edf443b5 (diff)
downloadmeson-fee5cb697c77156f0dec4264ce846dd0d4f84fd5.zip
meson-fee5cb697c77156f0dec4264ce846dd0d4f84fd5.tar.gz
meson-fee5cb697c77156f0dec4264ce846dd0d4f84fd5.tar.bz2
Merge pull request #9167 from dcbaker/submit/meson-main-type-checking
Add type annotations and type checking to meson main
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r--mesonbuild/compilers/d.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
index 19706c5..18a5d68 100644
--- a/mesonbuild/compilers/d.py
+++ b/mesonbuild/compilers/d.py
@@ -33,11 +33,12 @@ from .compilers import (
from .mixins.gnu import GnuCompiler
if T.TYPE_CHECKING:
- from .compilers import Compiler as CompilerMixinBase
from ..programs import ExternalProgram
from ..envconfig import MachineInfo
from ..environment import Environment
from ..linkers import DynamicLinker
+
+ CompilerMixinBase = Compiler
else:
CompilerMixinBase = object