[<<][erlang][>>][..]
Sun Jul 23 23:54:28 EDT 2017

xref problems / distel_completions

How is it supposed to work?

xref:start(my_xref).
{ok,<0.128.0>}

xref:q(my_xref, "(Fun) web : Mod").

The reason might be module clashes:

(gw@127.0.0.1)20> xref:add_directory(distel_completions,"/home/tom/priv/git-private/humanetics/src/install/gw/ebin").
{error,xref_base,
       {module_clash,{sqlite3,"deps/erl_tools/ebin/sqlite3.beam",
                              "/home/tom/priv/git-private/humanetics/src/install/gw/ebin/sqlite3.beam"}}}

and an error that is ignored here:

start(XREF) ->
    xref:start(XREF(server), XREF(opts)),
    xref:set_default(XREF(server), builtins, true),
    F = fun(D) -> xref:add_directory(XREF(server), D) end,
    foreach(F, get_code_path(XREF)).







[Reply][About]
[<<][erlang][>>][..]