inaka / xref_runner

Erlang Xref Runner (inspired in rebar xref)

Home Page:http://inaka.github.io/xref_runner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken for modules created with Elixir

x4lldux opened this issue · comments

Running check on any Elixir module throws:

** (MatchError) no match of right hand side value: [{:attribute, 0, :compile, :no_auto_import}, {:attribute,....

By the looks of it, every Elixir module AST starts with {:attribute, 0, :compile, :no_auto_import} and also the first file attribute is not necessarily at 1st line.

Fixed by #53