]> 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>
Wed, 10 Aug 2022 13:59:36 +0000 (15:59 +0200)
commit5983ec9833c1ab383c7a2b8019fbd42ed60fe772
tree564e46e64c97cd814435213d78827f3840818188
parent2479349feafa202cf2b94254a39b245e866d9a73
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