]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Include type-checks in preconditions of methods for type narrowing
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 13 Feb 2021 18:34:12 +0000 (19:34 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 13 Feb 2021 18:34:12 +0000 (19:34 +0100)
commite199f5621175c47a1b3c22a5c8c6337412df6fb9
tree8498e585cb4a03db9d32be70f11054b88b244321
parent869a81a7a3f06f363ef52ef2e535b710681913d2
vala: Include type-checks in preconditions of methods for type narrowing

See https://gitlab.gnome.org/GNOME/vala/issues/894
tests/Makefile.am
tests/objects/type-narrowing-by-precondition.vala [new file with mode: 0644]
vala/valamemberaccess.vala