Skip to content

Instantly share code, notes, and snippets.

@timruffles
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timruffles/87a07dc1aaa12a83c1ba to your computer and use it in GitHub Desktop.
Save timruffles/87a07dc1aaa12a83c1ba to your computer and use it in GitHub Desktop.
Elixir.Inspect.Algebra crash
{function_clause,
[{'Elixir.Inspect.Algebra',format,
[infinity,0,
[{0,flat,
#{<<"blob_js_candidate">> => #{<<"esprima">> => #{<<"complexity_report">> => #{}},
<<"esvalidate">> => #{<<"jshint">> => #{},<<"jstodos">> => #{}}}}}]],
[{file,"lib/inspect/algebra.ex"},{line,432}]},
{'Elixir.Inspect.Algebra',pretty,2,
[{file,"lib/inspect/algebra.ex"},{line,405}]},
{'Elixir.Exception','-format_arity/1-lc$^0/1-0-',1,
[{file,"lib/exception.ex"},{line,357}]},
{'Elixir.Exception','-format_arity/1-lc$^0/1-0-',1,
[{file,"lib/exception.ex"},{line,357}]},
{'Elixir.Exception',format_arity,1,
[{file,"lib/exception.ex"},{line,357}]},
{'Elixir.Exception',format_mfa,3,
[{file,"lib/exception.ex"},{line,352}]},
{'Elixir.Exception',format_stacktrace_entry,1,
[{file,"lib/exception.ex"},{line,274}]},
{'Elixir.ExUnit.Formatter','-format_stacktrace/4-fun-0-',2,
[{file,"lib/ex_unit/formatter.ex"},{line,201}]}]}
=ERROR REPORT==== 19-May-2014::09:26:23 ===
** gen_event handler 'Elixir.ExUnit.CLIFormatter' crashed.
** Was installed in <0.76.0>
** Last event was: {test_finished,
{'Elixir.ExUnit.Test',
'test can generate complete set of tasks',
'Elixir.ProcessCommitTest',
{failed,
{error,
{'Elixir.UndefinedFunctionError','__exception__',
'Elixir.ProcessCommitTest',total_task,4},
[{'Elixir.ProcessCommitTest',total_task,
[[<<"foo/bar/baz">>],
#{'__struct__' => 'Elixir.Stack',
tree => #{#{name => <<"blob_js_candidate">>,version => <<"1">>} => #{#{input => #{language => <<"js_candidate">>,
root => true,
type => <<"blob">>},
name => <<"esprima">>,
output => #{type => <<"mozilla_esast">>},
version => <<"1">>} => #{#{input => #{type => <<"mozilla_esast">>},
name => <<"complexity_report">>,
output => #{type => <<"meta">>},
version => <<"1">>} => #{}},
#{input => #{language => <<"js_candidate">>,
root => true,
type => <<"blob">>},
name => <<"esvalidate">>,
output => #{language => <<"js">>,type => <<"blob">>},
version => <<"1">>} => #{#{input => #{language => <<"js">>,type => <<"blob">>},
name => <<"jshint">>,
output => #{type => <<"meta">>},
version => <<"1">>} => #{},
#{input => #{language => <<"js">>,type => <<"blob">>},
name => <<"jstodos">>,
output => #{type => <<"meta">>},
version => <<"1">>} => #{}}}}},
{'Elixir.HashSet',0,{[],[],[],[],[],[],[],[]}},
[#{input => #{language => <<"js">>,type => <<"blob">>},
name => <<"jshint">>,
output => #{type => <<"meta">>},
version => <<"1">>},
#{input => #{language => <<"js">>,type => <<"blob">>},
name => <<"jstodos">>,
output => #{type => <<"meta">>},
version => <<"1">>},
#{input => #{type => <<"mozilla_esast">>},
name => <<"complexity_report">>,
output => #{type => <<"meta">>},
version => <<"1">>}]],
[]},
{'Elixir.ProcessCommitTest',
'test can generate complete set of tasks',1,
[{file,"test/process_commit_test.exs"},{line,9}]}]}},
11094,
[{test,'test can generate complete set of tasks'},
{line,4}]}}
** When handler state == {'Elixir.ExUnit.CLIFormatter.Config',0,0,0,0,false,
276932,true,272}
** Reason == {function_clause,
[{'Elixir.Inspect.Algebra',format,
[infinity,0,
[{0,flat,
#{<<"blob_js_candidate">> => #{<<"esprima">> => #{<<"complexity_report">> => #{}},
<<"esvalidate">> => #{<<"jshint">> => #{},<<"jstodos">> => #{}}}}}]],
[{file,"lib/inspect/algebra.ex"},{line,432}]},
{'Elixir.Inspect.Algebra',pretty,2,
[{file,"lib/inspect/algebra.ex"},{line,405}]},
{'Elixir.Exception','-format_arity/1-lc$^0/1-0-',1,
[{file,"lib/exception.ex"},{line,357}]},
{'Elixir.Exception','-format_arity/1-lc$^0/1-0-',1,
[{file,"lib/exception.ex"},{line,357}]},
{'Elixir.Exception',format_arity,1,
[{file,"lib/exception.ex"},{line,357}]},
{'Elixir.Exception',format_mfa,3,
[{file,"lib/exception.ex"},{line,352}]},
{'Elixir.Exception',format_stacktrace_entry,1,
[{file,"lib/exception.ex"},{line,274}]},
{'Elixir.ExUnit.Formatter','-format_stacktrace/4-fun-0-',2,
[{file,"lib/ex_unit/formatter.ex"},{line,201}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment