aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2019-01-08 12:01:33 +0100
committerGitHub <[email protected]>2019-01-08 12:01:33 +0100
commit21b6c9bbd28c2a380b00b195da9338979bebcaf7 (patch)
tree42b950ec630bf2d3fd7172df90ebe7f7c735cb4d /lib/stdlib
parent36d0611e009a7792408534c122a65a2b8ebd23a7 (diff)
parentd6322be9aa1f42609c80083ea68eb1dd710f4466 (diff)
downloadotp-21b6c9bbd28c2a380b00b195da9338979bebcaf7.tar.gz
otp-21b6c9bbd28c2a380b00b195da9338979bebcaf7.tar.bz2
otp-21b6c9bbd28c2a380b00b195da9338979bebcaf7.zip
Merge pull request #2022 from gomoripeti/ms_remote_call_error
Fix remote-call error in ms_transform
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/ms_transform.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/ms_transform.erl b/lib/stdlib/src/ms_transform.erl
index 6d243e1bec..97ec785c62 100644
--- a/lib/stdlib/src/ms_transform.erl
+++ b/lib/stdlib/src/ms_transform.erl
@@ -556,8 +556,8 @@ tg({call, Line, {remote,_,{atom,_,erlang},{atom, Line2, FunName}},ParaList},
FunName,length(ParaList)}})
end;
tg({call, Line, {remote,_,{atom,_,ModuleName},
- {atom, _, FunName}},_ParaList},B) ->
- throw({error,Line,{?ERR_GENREMOTECALL+B#tgd.eb,ModuleName,FunName}});
+ {atom, _, FunName}},ParaList},B) ->
+ throw({error,Line,{?ERR_GENREMOTECALL+B#tgd.eb,ModuleName,FunName,length(ParaList)}});
tg({cons,Line, H, T},B) ->
{cons, Line, tg(H,B), tg(T,B)};
tg({nil, Line},_B) ->