[vala/0.54] vala: Implement missing YieldStatement.accept()



commit 8efdbd76bb6b86be55eccf730ad6f3d89c228876
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Jan 18 18:42:11 2022 +0100

    vala: Implement missing YieldStatement.accept()

 vala/valayieldstatement.vala | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/vala/valayieldstatement.vala b/vala/valayieldstatement.vala
index 7148f3b74..111a40ccd 100644
--- a/vala/valayieldstatement.vala
+++ b/vala/valayieldstatement.vala
@@ -34,6 +34,10 @@ public class Vala.YieldStatement : CodeNode, Statement {
                this.source_reference = source_reference;
        }
 
+       public override void accept (CodeVisitor visitor) {
+               visitor.visit_yield_statement (this);
+       }
+
        public override bool check (CodeContext context) {
                if (checked) {
                        return !error;


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