Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: eproxus/meck
head fork: legoscia/meck
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on May 21, 2012
@legoscia legoscia References are opaque
erl_parse:abstract/1 chokes on references.  Make sure we don't feed it
any by making contains_opaque/1 return true for anything that contains
a reference.
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/meck.erl
3  src/meck.erl
@@ -569,7 +569,8 @@ func_native(Mod, Func, Arity, Result) ->
-contains_opaque(Term) when is_pid(Term); is_port(Term); is_function(Term) ->
+contains_opaque(Term) when is_pid(Term); is_port(Term); is_function(Term);
+ is_reference(Term) ->
contains_opaque(Term) when is_list(Term) ->
lists:any(fun contains_opaque/1, Term);

No commit comments for this range

Something went wrong with that request. Please try again.