Created a separated 'externaltools' plugin
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / lookup / BlockScope.java
index f366aaa..6ae9a68 100644 (file)
@@ -418,7 +418,7 @@ public class BlockScope extends Scope {
                                        if (!((ReferenceBinding) binding).canBeSeenBy(this))
                                                return new ProblemReferenceBinding(
                                                        CharOperation.subarray(compoundName, 0, currentIndex),
-                                                       binding,
+                                                       (ReferenceBinding)binding,
                                                        NotVisible);
                                        break foundType;
                                }
@@ -522,7 +522,7 @@ public class BlockScope extends Scope {
                                        if (!((ReferenceBinding) binding).canBeSeenBy(this))
                                                return new ProblemReferenceBinding(
                                                        CharOperation.subarray(compoundName, 0, currentIndex),
-                                                       binding, 
+                                                       (ReferenceBinding)binding, 
                                                        NotVisible);
                                        break foundType;
                                }