From kdevelop-bugs Thu Mar 29 17:36:55 2012 From: Milian Wolff Date: Thu, 29 Mar 2012 17:36:55 +0000 To: kdevelop-bugs Subject: [Bug 296709] incorrect coloring and tooltip of foreach ... as variable Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=133304277615537 https://bugs.kde.org/show_bug.cgi?id=296709 Milian Wolff changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Milian Wolff --- Git commit 75493103a0b53ddc364b229020ffde216ea7d7cb by Milian Wolff. Committed on 29/03/2012 at 19:35. Pushed by mwolff into branch '1.3'. take range into account when looking for redeclarations probably we should refactor the handling of foreach variables, since right now we have to visit the TypeBuilder::visitStatement before declaring the variables. this has side-effects since it also means we visit the foreach-body statements before declaring the variables... M +2 -1 duchain/builders/declarationbuilder.cpp M +43 -0 duchain/tests/duchain.cpp M +1 -0 duchain/tests/duchain.h http://commits.kde.org/kdev-php/75493103a0b53ddc364b229020ffde216ea7d7cb -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs