Skip to content
Browse files

Apparently Mod:module_info(compile) changed return value in R15

  • Loading branch information...
1 parent 10ccc5d commit 1c7740700133d84b4832b114a2a0a92a57a413a9 vagrant committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/distel.erl
View
2 src/distel.erl
@@ -549,7 +549,7 @@ int_i(Mod, Exps, Abst, Srcfile, Beamfile) ->
true = erts_debug:breakpoint({Mod,'_','_'}, true) > 0.
is_interpreted(Mod) ->
- Mod:module_info(compile) == [].
+ [Mod] =:= [I || I <- int:interpreted(), I =:= Mod].
int_interpreted() ->
[Mod || {Mod,Beamfile} <- code:all_loaded(),

0 comments on commit 1c77407

Please sign in to comment.
Something went wrong with that request. Please try again.