anchor.diff:          getMemberDisplayName memb |> makeStrConst
       | _ -> selector
   
  -let private transformImport r typ isPublic name selector path =
  +let private transformImport com r typ isMutable isPublic name selector path =
  +    if isMutable && isPublic then
  +        "Imported members cannot be mutable and public, please make it private: " + name
  +        |> addError com [] None
       let info: Fable.ValueDeclarationInfo =
           { Name = name
             IsPublic = isPublic
             // TODO: Check if they're mutable, see #1314
  -          IsMutable = false
  +          IsMutable = isMutable
             IsEntryPoint = false
             HasSpread = false }
       let fableValue = Fable.Import(selector, path, Fable.CustomImport, typ, r)
  
positive.code:     match tryImportAttribute memb.Attributes with
      | Some(selector, path) ->
          let typ = makeType com Map.empty memb.FullType
          transformImport None typ isPublic name (makeStrConst selector) (makeStrConst path)
      | None ->
          if isModuleValueForDeclarations memb
          then transformMemberValue com ctx isPublic name memb body
  
negative.code:                     let name = getEntityDeclarationName com ent
                      com.AddUsedVarName(name)
                      (makeStrConst selector, makeStrConst path)
                      ||> transformImport com None Fable.Any false (not ent.Accessibility.IsPrivate) name
                  // Discard erased unions and string enums
                  | None when ent.IsFSharpUnion && not (isErasedUnion ent) ->
                      let entityName = getEntityDeclarationName com ent
  