[erlang-questions] Erlang 19 callbacks aren't attributes?

Ryan Stewart zzantozz@REDACTED
Sat Jan 21 17:07:17 CET 2017


Anybody? This seems like a moderately serious issue. We've found that it
can cause issues with meck, which assumes callbacks appear in module_info
attributes.

On Mon, Jan 16, 2017 at 1:08 PM Ryan Stewart <zzantozz@REDACTED> wrote:

> There was a question about this on the list a few months back, but it was
> unanswered. It seems that in Erlang 19, a module's callbacks no longer
> appear in the module_info() as 'attributes'. They are, however, included in
> the abstract code (via beam_lib). I'm wondering if this was an intentional
> change or an oversight.
>
> Are callbacks supposed to show up under a module's module_info attributes
> like they used to?
>
> Ryan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170121/5065e7e1/attachment.htm>


More information about the erlang-questions mailing list