aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-09-17 10:50:30 (EDT)
committerzzhongwei2012-09-17 10:50:30 (EDT)
commit51e9f0427a2ad42e6e67688a38b1dbb692b54516 (patch)
tree3c239c6e58c50f905594fcb78746087138923747
parent50c6527ed5c1bf08a3644fe83338410ef842a83e (diff)
downloadorg.eclipse.pdt-51e9f0427a2ad42e6e67688a38b1dbb692b54516.zip
org.eclipse.pdt-51e9f0427a2ad42e6e67688a38b1dbb692b54516.tar.gz
org.eclipse.pdt-51e9f0427a2ad42e6e67688a38b1dbb692b54516.tar.bz2
386276: @var second declaration breaking previous declaration
https://bugs.eclipse.org/bugs/show_bug.cgi?id=386276
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/VariableReferenceEvaluator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/VariableReferenceEvaluator.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/VariableReferenceEvaluator.java
index 0467a78..ee60c65 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/VariableReferenceEvaluator.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/typeinference/evaluators/VariableReferenceEvaluator.java
@@ -132,7 +132,7 @@ public class VariableReferenceEvaluator extends GoalEvaluator {
for (VarComment varComment : newList) {
if (varComment.sourceStart() > variableReference
.sourceStart()) {
- break;
+ continue;
}
if (varComment.getVariableReference().getName()
.equals(variableReference.getName())) {