aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cs.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-06-03 09:10:08 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2022-06-08 23:19:09 +0300
commit629a9c68e26652dcd1649a46e7b2729404cb2b40 (patch)
tree76ee234a5883369c5e121fb613a0c8d6c5a90216 /mesonbuild/compilers/cs.py
parentf235b814c3a60095e2a086ef5e8b1d775318415d (diff)
downloadmeson-629a9c68e26652dcd1649a46e7b2729404cb2b40.zip
meson-629a9c68e26652dcd1649a46e7b2729404cb2b40.tar.gz
meson-629a9c68e26652dcd1649a46e7b2729404cb2b40.tar.bz2
build: use inheritance properly for is_internal
Calling `isinstance(self, X)` is an anti-pattern, we should just be using inheritance for this, letting the `StaticLibrary` override the method, and having the base class always return `False`.
Diffstat (limited to 'mesonbuild/compilers/cs.py')
0 files changed, 0 insertions, 0 deletions