aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-28 13:59:44 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-10-01 15:05:01 -0700
commit6eb981e0c03b2ff0f6af65688be9eeb0a9358226 (patch)
treeb1636bd92490b3d755ed4e367e0a2bdb4c3dcbcc
parent738e343860b25f545ebf98fec93ba8ee1fc3cabc (diff)
downloadmeson-6eb981e0c03b2ff0f6af65688be9eeb0a9358226.zip
meson-6eb981e0c03b2ff0f6af65688be9eeb0a9358226.tar.gz
meson-6eb981e0c03b2ff0f6af65688be9eeb0a9358226.tar.bz2
compilers/gnu: Don't pretend to inherit CLike
We don't need it anymore, and it would be problematic for the D compilers.
-rw-r--r--mesonbuild/compilers/mixins/gnu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/mixins/gnu.py b/mesonbuild/compilers/mixins/gnu.py
index 9c60fcb..41afadd 100644
--- a/mesonbuild/compilers/mixins/gnu.py
+++ b/mesonbuild/compilers/mixins/gnu.py
@@ -27,7 +27,7 @@ from ... import mlog
if T.TYPE_CHECKING:
from ...environment import Environment
- from .clike import CLikeCompiler as Compiler
+ from ..compilers import Compiler
else:
# This is a bit clever, for mypy we pretend that these mixins descend from
# Compiler, so we get all of the methods and attributes defined for us, but