aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/detect.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-07-26 15:50:15 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-08-16 16:21:51 -0700
commit580f316043ed34ada70af52754dec1340c3125fe (patch)
tree9df96d1e9c8ccf53fc5132cdb32782631d15e60b /mesonbuild/compilers/detect.py
parentd8d09138c7af71705d8a5ec5b018ef73aa75d82b (diff)
downloadmeson-580f316043ed34ada70af52754dec1340c3125fe.zip
meson-580f316043ed34ada70af52754dec1340c3125fe.tar.gz
meson-580f316043ed34ada70af52754dec1340c3125fe.tar.bz2
interperterbase: help type checkers do better type deduction
This assert causes several type checkers (both mypy and pyright) to force `obj` to be a base `HoldableObject` instead of the specialized object. Since the check itself may still be valuable as we don't have fully type annotation coverage it's simply been removed when type checking to aid in type specialization.
Diffstat (limited to 'mesonbuild/compilers/detect.py')
0 files changed, 0 insertions, 0 deletions