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:                     let name = getEntityDeclarationName com ent
                      com.AddUsedVarName(name)
                      (makeStrConst selector, makeStrConst path)
                      ||> transformImport None Fable.Any (not ent.Accessibility.IsPrivate) name
                  // Discard erased unions and string enums
                  | None when ent.IsFSharpUnion && not (isErasedUnion ent) ->
                      let entityName = getEntityDeclarationName com ent
  
negative.code:         // Use the full function type
          let typ = makeType com Map.empty memb.FullType
          let selector = importExprSelector memb selector
          transformImport com r typ false isPublic name selector path
      | body ->
          let fn = Fable.Function(Fable.Delegate args, body, Some name)
          // If this is a static constructor, call it immediately
  