]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Make Vala.Method._base_interface_method weak
authorJesse van den Kieboom <jessevdk@gmail.com>
Tue, 19 Nov 2013 14:38:34 +0000 (15:38 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 14 Dec 2013 13:12:18 +0000 (14:12 +0100)
This fixes a circular reference for interface methods which have
themselves as their base method.

https://bugzilla.gnome.org/show_bug.cgi?id=712683

vala/valamethod.vala

index 663ae6fdfcdf4e1eba57130ac2d9aa493a86029c..7070cd154a5fb7c2171721319ffc7aac5dee7797 100644 (file)
@@ -180,7 +180,7 @@ public class Vala.Method : Subroutine {
        private DataType _return_type;
 
        private weak Method _base_method;
-       private Method _base_interface_method;
+       private weak Method _base_interface_method;
        private bool base_methods_valid;
 
        Method? callback_method;