[erlang-questions] Module t breaks TAB in shell in 17.0
Björn-Egil Dahlberg
wallentin.dahlberg@REDACTED
Thu May 22 23:17:41 CEST 2014
You have to fix the code:
{function, module_info, 0, 4}.
{label,3}.
{line,[]}.
{func_info,{atom,t},{atom,module_info},0}.
{label,4}.
{move,{atom,t},{x,0}}.
{line,[]}.
{call_ext_only,1,{extfunc,erlang,get_module_info,1}}.
{function, module_info, 1, 6}.
{label,5}.
{line,[]}.
{func_info,{atom,t},{atom,module_info},1}.
{label,6}.
{move,{x,0},{x,1}}.
{move,{atom,t},{x,0}}.
{line,[]}.
{call_ext_only,2,{extfunc,erlang,get_module_info,2}}.
Change {atom,t} to your actual module name.
// Björn-Egil
2014-05-22 10:49 GMT+02:00 Max Lapshin <max.lapshin@REDACTED>:
> (flussonic@REDACTED)1> mpegts_alloc:*** ERROR: Shell process terminated!
> ***
> 12:41:45.092 emulator Error in process <0.3772.3> on node '
> flussonic@REDACTED' with exit value:
> {badarg,[{erlang,get_module_info,[t],[]},{t,module_info,0,[]},{edlin_expand,expand_function_name,2,[{file,"edlin_expand.erl"},{line,53}]},{group,get_line1,4,[{file,"group.erl"},{line,541}]},{group,get_chars_loop,8,[{file,"group....
>
>
> Here is what is happening: I type mpegts_alloc: and then press TAB.
> After this I see this message.
>
> Module mpegts_alloc is very specific:
> https://gist.github.com/maxlapshin/5531424
>
> When I ask to autocomplete binary: functions, it works ok.
>
> Something broken in this module mpegts_alloc?
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140522/7bab12e1/attachment.htm>
More information about the erlang-questions
mailing list