[erlang-patches] Some cleanups in kernel files

Fredrik <>
Thu Dec 20 15:02:11 CET 2012


Hello Kostis,
There has been raised some questions regarding this patch from the OTP team.
In this commit:
https://github.com/kostis/otp/commit/3a13b7a1e1bdd48b0293fc7366c3d133abf845bd
You are returning 'ok' from a case clause which does not an affect on 
the returned value,

{noreply, S};


We would like an explanation why this is so important.

BR Fredrik Gustafsson
Erlang OTP Team
On 12/18/2012 03:04 PM, Kostis Sagonas wrote:
> The code in some kernel modules has been cleaned up so that functions 
> do not return terms of wrong type by accident (most notably by having 
> a call to !/2 in a return position) and so that language constructs 
> that reflect in a more accurate way the program's intention are used.
>
> Please include:
>
>   git fetch git://github.com/kostis/otp.git kernel-cleanup
>
> Kostis
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20121220/51d7c8d1/attachment.html>


More information about the erlang-patches mailing list