* Resolve a dotted name, e.g., foo.bar.baz, where the whole dotted name is a package
* this is an error, and a diagnostic will be emitted
*/
Binding errorPackageName(IASNode iNode, String qualifiers, String base_name)
{
currentScope.addProblem(new PackageCannotBeUsedAsValueProblem(iNode, "'" + qualifiers + "." + base_name + "'"));
return new Binding(iNode, new Name(qualifiers + "." + base_name), null);
}