aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/compiler.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-03-07 00:36:45 -0500
committerXavier Claessens <xclaesse@gmail.com>2023-03-09 22:04:38 -0500
commitc91a6ad0130e64fabf30b6bae58ae266453ab86a (patch)
tree549e7a06f618f1d9db5790386a7392eddec20e75 /mesonbuild/interpreter/compiler.py
parent7c2ac4f8fe2bda306adc73572d8f8e43010456cb (diff)
downloadmeson-c91a6ad0130e64fabf30b6bae58ae266453ab86a.zip
meson-c91a6ad0130e64fabf30b6bae58ae266453ab86a.tar.gz
meson-c91a6ad0130e64fabf30b6bae58ae266453ab86a.tar.bz2
re-deduplicate feature warnings printed at the end of setup
In commit eaf365cb3ef4f1c2ba66e07237d86a44089aff4f we explicitly sorted them for neatness, with the rationale that we were restoring intentional behavior and we only need a set for stylistic purposes. This actually wasn't true, because we never sorted them to begin with (we did sort the version numbers), but sorting them is fine. The bigger issue is that we actually used a set to avoid printing the same feature type multiple times. Now we do print them multiple times -- because each registered feature includes the unique node. Fix this by using both sorted and a set. Fix tests that should in retrospect have flagged this as an issue, but were added later on in the same series to check something else entirely, happen to cover this too, and were presumably copied directly from stdout as-is...
Diffstat (limited to 'mesonbuild/interpreter/compiler.py')
0 files changed, 0 insertions, 0 deletions