]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Allow assignment of 0U to enum types 270361907182a4c8b4b291fd1a505d47dd8bcaae
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 10 Mar 2019 17:14:09 +0000 (18:14 +0100)
commit270361907182a4c8b4b291fd1a505d47dd8bcaae
treeff9186eea9282a2283356d07a4ccaf19111332fd
parent9199f6a29da38499920a3455f382a41371a1be4e
vala: Allow assignment of 0U to enum types

Don't restrict unsigned 0 literal to flags-enums though.
tests/Makefile.am
tests/enums/from-0-literal.vala [new file with mode: 0644]
vala/valaintegertype.vala