You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
emacs+distel don't jump to function when the function parameters contain a binary. That's it.
debian testing,
emacs 23.4+1-3,
distel from git,
the simplest program:
-module(u2).
-export([save_test/0]).
save_test() ->
F1 = fun(Val) ->
save1(Val), % does not work
save1(now(), Val), % does not work
save2(Val), % works
save2(now(), Val), % works
save3(Val) % works
end,
L = [
<<"save_test1">>,
<<"save_test2">>,
save_test1,
save_test2
],
lists:foreach(F1, L).
save1(<<"save_test1">>) ->
error;
save1(<<"save_test2">>) ->
ok.
save1(Info, <<"save_test1">>) ->
error;
save1(Info, <<"save_test2">>) ->
ok.
save2(save_test1) ->
error;
save2(save_test2) ->
ok.
save2(Info, {<<"save_test1">>, true}) ->
error;
save2(Info, {<<"save_test2">>, false}) ->
ok.
save3({<<"save_test1">>, true}) ->
error;
save3({<<"save_test2">>, false}) ->
ok.
The text was updated successfully, but these errors were encountered:
emacs+distel don't jump to function when the function parameters contain a binary. That's it.
debian testing,
emacs 23.4+1-3,
distel from git,
the simplest program:
-module(u2).
-export([save_test/0]).
save_test() ->
F1 = fun(Val) ->
save1(Val), % does not work
save1(now(), Val), % does not work
save2(Val), % works
save2(now(), Val), % works
save3(Val) % works
end,
L = [
<<"save_test1">>,
<<"save_test2">>,
save_test1,
save_test2
],
lists:foreach(F1, L).
save1(<<"save_test1">>) ->
error;
save1(<<"save_test2">>) ->
ok.
save1(Info, <<"save_test1">>) ->
error;
save1(Info, <<"save_test2">>) ->
ok.
save2(save_test1) ->
error;
save2(save_test2) ->
ok.
save2(Info, {<<"save_test1">>, true}) ->
error;
save2(Info, {<<"save_test2">>, false}) ->
ok.
save3({<<"save_test1">>, true}) ->
error;
save3({<<"save_test2">>, false}) ->
ok.
The text was updated successfully, but these errors were encountered: