[vala/0.50] vala: Add missing TraverseVisitor.visit_addressof_expression()



commit ac4ae84f0c5e3b873b356681459541585fa88504
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Dec 21 13:52:54 2020 +0100

    vala: Add missing TraverseVisitor.visit_addressof_expression()

 vala/valatraversevisitor.vala | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/vala/valatraversevisitor.vala b/vala/valatraversevisitor.vala
index ae2a7c07b..c8e466481 100644
--- a/vala/valatraversevisitor.vala
+++ b/vala/valatraversevisitor.vala
@@ -378,6 +378,12 @@ public class Vala.TraverseVisitor : CodeVisitor {
                }
        }
 
+       public override void visit_addressof_expression (AddressofExpression expr) {
+               if (func (expr) == TraverseStatus.CONTINUE) {
+                       expr.accept_children (this);
+               }
+       }
+
        public override void visit_slice_expression (SliceExpression expr) {
                if (func (expr) == TraverseStatus.CONTINUE) {
                        expr.accept_children (this);


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