aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-05-09 12:30:28 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-05-11 09:57:38 -0700
commite419198ff879f74663a7c4d71f2a24f125d27de1 (patch)
tree95c9c66a24374706be1b8567b9fa7c1e1acb2916 /mesonbuild/compilers.py
parent1a87c967f18b6b212f2c7326f2382123cf43c6bc (diff)
downloadmeson-e419198ff879f74663a7c4d71f2a24f125d27de1.zip
meson-e419198ff879f74663a7c4d71f2a24f125d27de1.tar.gz
meson-e419198ff879f74663a7c4d71f2a24f125d27de1.tar.bz2
Flatten should always return a list
Currently if flatten() is passed a non-list object, it returns that object. This is surprising behavior, and prone to causing serious and numerous problems, since many objects implement the iterable interface, and thus can be used in cases a list is expected, but with undesirable results.
Diffstat (limited to 'mesonbuild/compilers.py')
0 files changed, 0 insertions, 0 deletions