diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-08-06 14:50:46 -0700 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-20 18:57:19 +0200 |
commit | a5c4cf3a3f74262994dffcc1238843882b13cf8f (patch) | |
tree | c26ee583ed10abf410d6d9800be61e9e40db29d9 /mesonbuild/compilers/compilers.py | |
parent | 3a45c5a7ce5e947d7b664211049f7d4023b96ed1 (diff) | |
download | meson-a5c4cf3a3f74262994dffcc1238843882b13cf8f.zip meson-a5c4cf3a3f74262994dffcc1238843882b13cf8f.tar.gz meson-a5c4cf3a3f74262994dffcc1238843882b13cf8f.tar.bz2 |
mesonlib: Fix type annotations
get_compiler_for_source and classify_unity_sources are both wrong, in
that they expect to be given a seqence of strings, but they really
should take a `Sequence[str | File]`.
Additionally, they're using `CompilerType`, which we don't need anymore,
and should stop using, most methods for the Compiler are actually
defined in the base compiler class.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions