[vala/staging: 3/3] vala: Break cyclic reference in UsingDirective with parent Namespace



commit 1739f32723d7667353544d9b430cf21328c90a8d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Oct 19 09:13:46 2018 +0200

    vala: Break cyclic reference in UsingDirective with parent Namespace

 vala/valausingdirective.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/vala/valausingdirective.vala b/vala/valausingdirective.vala
index 15bb2d034..80caa43b6 100644
--- a/vala/valausingdirective.vala
+++ b/vala/valausingdirective.vala
@@ -29,7 +29,7 @@ public class Vala.UsingDirective : CodeNode {
        /**
         * The symbol of the namespace this using directive is referring to.
         */
-       public Symbol namespace_symbol { get; set; }
+       public weak Symbol namespace_symbol { get; set; }
 
        /**
         * Creates a new using directive.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]