]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Don't set implemenation of interface property to its own ce690e98c96aa610408bf23512acf93ec38990ee
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 7 Jan 2020 16:20:25 +0000 (17:20 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 7 Jan 2020 16:39:03 +0000 (17:39 +0100)
commitce690e98c96aa610408bf23512acf93ec38990ee
tree745155b0d761cb690c16abfe8ef0b9cb57310bd8
parent02ca1ff286bdf03d3e11882de39a3b17258a2627
codegen: Don't set implemenation of interface property to its own

A base-class is allowed to provide interface implementations for methods
and properties. If those exist without an explicit implementation in the
sub-class we then we end up finding the interface property itself. Using
that is obviously wrong and causes a cyclic call stack.

Fixes https://gitlab.gnome.org/GNOME/vala/issues/891
codegen/valagtypemodule.vala
tests/Makefile.am
tests/objects/interface-property-base-impl.vala [new file with mode: 0644]