code: private void warnAboutNamespaceAliasing(Name nameObj, Ref ref) {
      compiler.report(JSError.make(ref.getNode(), UNSAFE_NAMESPACE_WARNING, nameObj.getFullName()));
    }
docs: Reports a warning because a namespace was aliased.
  
  @param nameObj A namespace that is being aliased
  @param ref The reference that forced the alias