diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2022-07-08 09:41:04 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-01-03 14:49:02 -0500 |
| commit | 76bead7e15f402cb385c2a21116d8facd0daad75 (patch) | |
| tree | f6c194da6ab5497bcf93788454900a60d52aeae0 /mesonbuild/compilers/cpp.py | |
| parent | 3e97a95f9dc974771823d5f4f3cedd66b4b05f5f (diff) | |
| download | meson-76bead7e15f402cb385c2a21116d8facd0daad75.tar.gz | |
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
