anchor.diff:                          else alias
                       selector, alias
                   | _ -> selector, selector
  -            selector, alias |> getUniqueNameInRootScope ctx |> Some
  +
  +            let alias =
  +                if noMangle then
  +                    let noConflict = ctx.UsedNames.RootScope.Add(alias)
  +                    if not noConflict then
  +                        com.WarnOnlyOnce($"Import {alias} conflicts with existing identifier in root scope")
  +                    alias
  +                else
  +                    getUniqueNameInRootScope ctx alias
  +            selector, Some alias
   
   module Compiler =
       open Util
  
positive.code:                 if onlyOnceWarnings.Add(msg) then
                      addWarning com [] range msg
  
              member _.GetImportExpr(ctx, selector, path, r) =
                  let selector = selector.Trim()
                  let path = path.Trim()
                  let cachedName = path + "::" + selector
  
negative.code:                     | Some localIdent -> Expression.identifier(localIdent)
                      | None -> Expression.nullLiteral()
                  | false, _ ->
                      let selector, localId = getIdentForImport com ctx noMangle path selector
                      if selector = Naming.placeholder then
                          "`importMember` must be assigned to a variable"
                          |> addError com [] r
  