aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-07-08 09:41:04 -0700
committerEli Schwartz <eschwartz93@gmail.com>2023-01-03 14:49:02 -0500
commit76bead7e15f402cb385c2a21116d8facd0daad75 (patch)
treef6c194da6ab5497bcf93788454900a60d52aeae0 /mesonbuild/compilers/cpp.py
parent3e97a95f9dc974771823d5f4f3cedd66b4b05f5f (diff)
downloadmeson-76bead7e15f402cb385c2a21116d8facd0daad75.zip
meson-76bead7e15f402cb385c2a21116d8facd0daad75.tar.gz
meson-76bead7e15f402cb385c2a21116d8facd0daad75.tar.bz2
msetup: do some stupid casting to make mypy happy
mypy is pretty dumb when it comes to unions of callables (pylance is also dumb in this regard), and can't figure out that our use of `mlog.debug | mlog.log` is perfectly safe. We also can't annotate them properly to cast them to a valid subset of arguments because you can't have splats in `typing.Callable`, so I've done enough to make it work.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
0 files changed, 0 insertions, 0 deletions