[vala/wip/transform: 60/99] Drop visit_expression from Traverse to avoid checking twice
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/transform: 60/99] Drop visit_expression from Traverse to avoid checking twice
- Date: Tue, 27 Mar 2018 12:25:27 +0000 (UTC)
commit d9bc01fbf2d3a42ba2a8668cc9c9b1a819b42ddb
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Oct 27 19:30:42 2012 +0200
Drop visit_expression from Traverse to avoid checking twice
vala/valatraversevisitor.vala | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/vala/valatraversevisitor.vala b/vala/valatraversevisitor.vala
index 37c85ec..596a557 100644
--- a/vala/valatraversevisitor.vala
+++ b/vala/valatraversevisitor.vala
@@ -288,12 +288,6 @@ public class Vala.TraverseVisitor : CodeVisitor {
}
}
- public override void visit_expression (Expression expr) {
- if (func (expr) == TraverseStatus.CONTINUE) {
- expr.accept_children (this);
- }
- }
-
public override void visit_method_call (MethodCall expr) {
if (func (expr) == TraverseStatus.CONTINUE) {
expr.accept_children (this);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]