Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

don't jump to definition when function parameters contain a binary #17

Open
mprize opened this Issue · 0 comments

1 participant

@mprize

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.