[vala/wip/transform: 92/139] Fix build after rebase



commit 9fc401685a73a95ddc49bffcbd4c90320c2cc575
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Mon Oct 1 17:03:35 2012 +0200

    Fix build after rebase

 vala/valamemberaccess.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valamemberaccess.vala b/vala/valamemberaccess.vala
index 022c9be..62f6ae5 100644
--- a/vala/valamemberaccess.vala
+++ b/vala/valamemberaccess.vala
@@ -555,7 +555,7 @@ public class Vala.MemberAccess : Expression {
                        access = c.access;
 
                        var block = c.parent_symbol as Block;
-                       if (block != null && context.analyzer.get_current_method_or_property_accessor (block) 
!= context.analyzer.get_current_method_or_property_accessor (this)) {
+                       if (block != null && context.analyzer.get_current_method_or_property_accessor (block) 
!= current_method_or_property_accessor) {
                                error = true;
                                Report.error (source_reference, "internal error: accessing local constants of 
outer methods is not supported yet");
                                return false;


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