Merged "Open PHP Declaration" and "Open Include File" into one action "Open Declarati...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / lookup / LookupEnvironment.java
index c2be8ee..249d948 100644 (file)
@@ -217,12 +217,13 @@ public void completeTypeBindings(CompilationUnitDeclaration parsedUnit) {
 public void completeTypeBindings(CompilationUnitDeclaration parsedUnit, boolean buildFieldsAndMethods) {
        if (parsedUnit.scope == null) return; // parsing errors were too severe
 
-//     parsedUnit.scope.checkAndSetImports();
+       parsedUnit.scope.checkAndSetImports();
        parsedUnit.scope.connectTypeHierarchy();
 
        if (buildFieldsAndMethods)
                parsedUnit.scope.buildFieldsAndMethods();
 }
+
 private PackageBinding computePackageFrom(char[][] constantPoolName) {
        if (constantPoolName.length == 1)
                return defaultPackage;