// twice: the first time with a non-namespace type and the second time
// as a namespace.
// Adding the non-namespace property here as undeclared prevents us
// from mistakenly using the second definition later. We use ? for now,
// but may find a better type in ProcessScope.
ns.addUndeclaredProperty(pname, JSType.UNKNOWN, /* isConst */ false);
}
}
@Override
public void visit(NodeTraversal t, Node n, Node parent) {