diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-07-03 12:29:12 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-07-19 18:31:37 -0400 |
commit | 621264e1d4f1a8623c6f82b774c8c9f099e98b62 (patch) | |
tree | 5a6e7b75008f66accc0fa745395cd994ac92ae3f /docs/genrefman.py | |
parent | ca34c7617036d5af1559767deba36038ecac101d (diff) | |
download | meson-621264e1d4f1a8623c6f82b774c8c9f099e98b62.zip meson-621264e1d4f1a8623c6f82b774c8c9f099e98b62.tar.gz meson-621264e1d4f1a8623c6f82b774c8c9f099e98b62.tar.bz2 |
linkers: fix mypy errors that were ignored due to lack of inheritance
A linker mixin has to be able to align with the base linker it will be
used for, in order to reference super(). Since they weren't inherited,
calls to super() resulted in mypy errors, which we ignored, and casting.
Use the same trick we use for compilers, and make the linker inherit
from the base linker type when running under mypy, and from object at
runtime.
Diffstat (limited to 'docs/genrefman.py')
0 files changed, 0 insertions, 0 deletions