]> git.ipfire.org Git - thirdparty/vala.git/commit
vala: Don't just guess and check for a matching base_interface_method too
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 29 Nov 2018 16:59:01 +0000 (17:59 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 19 Dec 2018 23:51:37 +0000 (00:51 +0100)
commit8bc6cc74406df77e134850c91f50a71ff037180a
treea229b201d97a6869521f061676e3899ac268665f
parent3399a1c572121c87a518c010422a2fad9ce30589
vala: Don't just guess and check for a matching base_interface_method too

This fixes class with multiple interfaces which require implementations of
methods with conflicting naming while the explicit interface-type reference
is not present yet.

Extend the present test-case for runtime checking. This will still silently
connect matching base-class methods as before as introduced in
e1a3ff9470763e7c6ff5a887036390bd418f4e46

Fixes https://gitlab.gnome.org/GNOME/vala/issues/548
tests/Makefile.am
tests/methods/bug652098.vala
tests/objects/interface-generics.vala [new file with mode: 0644]
tests/semantic/class-missing-implement-interfaces-methods.test [new file with mode: 0644]
tests/semantic/class-missing-implement-interfaces-methods3.test [new file with mode: 0644]
vala/valaclass.vala