Browse Source

Fix dialyzer warning for call to code:which/1

Tuncer Ayaz 14 years ago
parent
commit
820012410a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/rebar_eunit.erl

+ 2
- 1
src/rebar_eunit.erl View File

@ -284,7 +284,8 @@ has_header(Mod, Header) ->
cover_compiled ->
{file, File} = cover:is_compiled(Mod),
File;
undefined -> Mod;
non_existing -> Mod;
preloaded -> Mod;
L -> L
end,
{ok, {_, [{abstract_code, {_, AC}}]}} = beam_lib:chunks(Mod1, [abstract_code]),

Loading…
Cancel
Save