]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Don't allow nullable enum value as real GObject property
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 29 Mar 2022 14:33:55 +0000 (16:33 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 29 Mar 2022 14:44:46 +0000 (16:44 +0200)
commit53b003b3a12b1ed5e36b7a4428b19eb578ed36e4
tree0dd72d3209c2d88b3f1d25c01dd7bb17769ace39
parent0e822dff98c92a888a10c0d9fe04c724f95a0d79
vala: Don't allow nullable enum value as real GObject property

It is basically a boxed integer value.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/1074
tests/Makefile.am
tests/objects/property-enum-nullable.c-expected [new file with mode: 0644]
tests/objects/property-enum-nullable.vala [new file with mode: 0644]
vala/valasemanticanalyzer.vala