aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/scanbuild.py
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2020-10-28 23:31:22 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2020-11-01 19:27:09 +0200
commit505b5b23915ec98624e81eabeb59ac17ea18ff47 (patch)
tree6a9948d126047bc75cbca9783ce41e95f0172cd2 /mesonbuild/scripts/scanbuild.py
parent47d071a34f1e1539b1b354cfda309dac1b905232 (diff)
downloadmeson-505b5b23915ec98624e81eabeb59ac17ea18ff47.zip
meson-505b5b23915ec98624e81eabeb59ac17ea18ff47.tar.gz
meson-505b5b23915ec98624e81eabeb59ac17ea18ff47.tar.bz2
gnome: Tweak error message
It's an easy mistake to do this: gir1 = gnome.generate_gir(...) gir2 = gnome.generate_gir(... includes: ['GObject-2.0', gir1]) This fails with an error: ERROR: Gir includes must be str, GirTarget, or list of them. The issue is that the 'gir1[0]' should be passed instead of 'gir1'. To make the problem slightly clearly, tweak the error message to be: ERROR: Gir includes must be str, GirTarget, or list of them. Got TypelibTarget.
Diffstat (limited to 'mesonbuild/scripts/scanbuild.py')
0 files changed, 0 insertions, 0 deletions