Charj: fix namespace handling to use symbol table correctly
[charm.git] / src / langs / charj / src / charj / translator / PackageScope.java
index 27dc6ddbc963b185dbf59c137df60fafd6bf6b70..1bb5706fe0abffa35909737d53fa993c6f6ce06e 100644 (file)
@@ -29,6 +29,7 @@ public class PackageScope extends SymbolWithScope {
      *  be found.
      */
     public ClassSymbol resolveType(String type) {
+        if (type == null) return null;
         if (debug()) System.out.println(
                 " PackageScope.resolveType(" + type + 
                 "): examine " + toString());