anchor.diff:    {Prefix, Forms, Def, Defmacro, Macros, Deprecated} = dynamic_form(Map),
     {Types, Callbacks, TypeSpecs} = typespecs_form(Map, Set, Bag, Macros),
   
  -  DocsChunk = docs_chunk(Set, Line, Def, Defmacro, Types, Callbacks),
  +  DocsChunk = docs_chunk(Set, Module, Line, Def, Defmacro, Types, Callbacks),
     DeprecatedChunk = deprecated_chunk(Deprecated),
     Chunks = lists:flatten([DocsChunk, DeprecatedChunk]),
   
  
positive.code:     _ -> true
    end.
  
  docs_chunk(Set, Line, Def, Defmacro, Types, Callbacks) ->
    case elixir_compiler:get_opt(docs) of
      true ->
        {ModuleDocLine, ModuleDoc} = get_moduledoc(Line, Set),
        FunctionDocs = get_docs(Set, Def, function),
        MacroDocs = get_docs(Set, Defmacro, macro),
        CallbackDocs = get_callback_docs(Set, Callbacks),
        TypeDocs = get_type_docs(Set, Types),
  
  
negative.code:     {DocLine, Doc} -> {DocLine, doc_value(Doc)}
    end.
  
  get_docs(Set, Module, Definitions, Kind) ->
    [{Key,
      erl_anno:new(Line),
      [signature_to_binary(Module, Name, Signature)],
      doc_value(Doc),
      doc_metadata(Kind)
     } || {Name, Arity} <- Definitions,
  