diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-11-27 22:44:36 -0500 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2022-01-24 19:46:51 +0100 |
commit | a0d28e850e3f112d7161b367261295796dc04858 (patch) | |
tree | f06cc8916288b741f9f7ee06aae84e9bfaec1156 /tools/regenerate_docs.py | |
parent | 4f40962a05aae3881327ec04c02396153e5aa318 (diff) | |
download | meson-a0d28e850e3f112d7161b367261295796dc04858.zip meson-a0d28e850e3f112d7161b367261295796dc04858.tar.gz meson-a0d28e850e3f112d7161b367261295796dc04858.tar.bz2 |
properly error out when project version is an array other than files()
Due to the support for specifying version as files('VERSION'), we need
to internally accept an array, since that is what files() returns.
Before that, we didn't accept arrays, and after that, we don't intend to
accept generic arrays, only arrays as a side effect of files(). So
tighten the typechecking to ensure that that is what we actually get.
Diffstat (limited to 'tools/regenerate_docs.py')
0 files changed, 0 insertions, 0 deletions