diff options
author | Marc Herbert <marc.herbert@gmail.com> | 2019-12-03 16:45:28 -0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2019-12-03 22:10:07 -0500 |
commit | 80bfe593fccfaca880f38754fbf115ca0d591e44 (patch) | |
tree | 251aa34af3ad415e029b5fbfcd4207af2911c40a /mesonbuild/compilers/compilers.py | |
parent | 11639dd922aadb82545e2bce4edc558467a1fa21 (diff) | |
download | meson-80bfe593fccfaca880f38754fbf115ca0d591e44.zip meson-80bfe593fccfaca880f38754fbf115ca0d591e44.tar.gz meson-80bfe593fccfaca880f38754fbf115ca0d591e44.tar.bz2 |
mparser.py: actually check the type of key variable, not its value
Fixes PR #6166 and more specifically commit 4e460f04f3b2 that tried to
make sure the type of a key variable is a string but checked the type of
the value instead. Extends test common/228's limited coverage,
its only test case had (surprise) a string value. Also avoid reserved
python keyword 'dict' and potentially confusing string 'key'.
Implements #5231 for real.
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions