[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-ruby] duchain/builders: Don't double assign internal context for function declarations
From:       Alexander Dymo <adymo () kdevelop ! org>
Date:       2012-10-26 13:49:06
Message-ID: 20121026134906.3647CA6078 () git ! kde ! org
[Download RAW message or body]

Git commit 07265914e9c3dc9b5dcef3b33640c8a55fa5f8a0 by Alexander Dymo.
Committed on 26/10/2012 at 15:48.
Pushed by dymo into branch 'master'.

Don't double assign internal context for function declarations

M  +0    -1    duchain/builders/declarationbuilder.cpp

http://commits.kde.org/kdev-ruby/07265914e9c3dc9b5dcef3b33640c8a55fa5f8a0

diff --git a/duchain/builders/declarationbuilder.cpp b/duchain/builders/dec=
larationbuilder.cpp
index b3f43ad..f8d03d0 100644
--- a/duchain/builders/declarationbuilder.cpp
+++ b/duchain/builders/declarationbuilder.cpp
@@ -293,7 +293,6 @@ void DeclarationBuilder::visitMethodStatement(RubyAst *=
node)
     decl->clearDefaultParameters();
     DeclarationBuilderBase::visitMethodStatement(node);
     closeDeclaration();
-    eventuallyAssignInternalContext();
     closeType();
 =

     /*
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic