Since
https://github.com/elixir-lang/elixir/commit/5ed491a7ea8962310a5a5763bf358d42db58a421,
Module.__info__/1 doesn't drop down to :erlang.module_info/1
anymore. This patch switches to using Elixir's :functions instead of
Erlang's :exports. Both return exported functions, but the former
doesn't include __info__/1, module_info/0, and module_info/1,
which aren't needed for our purposes.
As reported in https://github.com/appsignal/appsignal-elixir/issues/268#issuecomment-346570356.
Since https://github.com/elixir-lang/elixir/commit/5ed491a7ea8962310a5a5763bf358d42db58a421,
Module.__info__/1
doesn't drop down to:erlang.module_info/1
anymore. This patch switches to using Elixir's:functions
instead of Erlang's:exports
. Both return exported functions, but the former doesn't include__info__/1
,module_info/0
, andmodule_info/1
, which aren't needed for our purposes.