Merge pull request #163 from ariel-anieli/issue-138-rumany-typos

runmany_wrap/2 didn't call Fun: missing parens
This commit is contained in:
Fred Hebert 2023-12-09 19:47:05 -05:00 committed by GitHub
commit 04c0d4fc84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -875,7 +875,7 @@ cluster_runmany(_, _, [_Non|_Empty], []=_Nodes, []=_Running, _) ->
-ifdef(fun_stacktrace). -ifdef(fun_stacktrace).
runmany_wrap(Fun, Parent) -> runmany_wrap(Fun, Parent) ->
try try
Fun Fun()
catch catch
exit:siblingdied -> exit:siblingdied ->
ok; ok;
@ -889,7 +889,7 @@ runmany_wrap(Fun, Parent) ->
-else. -else.
runmany_wrap(Fun, Parent) -> runmany_wrap(Fun, Parent) ->
try try
Fun Fun()
catch catch
exit:siblingdied -> exit:siblingdied ->
ok; ok;