[erlang-patches] Silence a misleading warning with some comprehensions

Björn Gustavsson <>
Mon Jul 8 12:25:24 CEST 2013


Looks good.


On Thu, Jun 6, 2013 at 10:55 PM, Anthony Ramine <> wrote:

> Hello,
>
> When compiling comprehensions with generators which are foldable to
> 'true', a misleading warning is emitted by sys_core_fold because a clause
> resulting from the compilation of the comprehension to Core Erlang is not
> marked as generated by the compiler.
>
> An example of such a comprehension is [ true || true ].
>
>         git fetch https://github.com/nox/otp.git fix-comp-warnings
>
>
> https://github.com/nox/otp/compare/erlang:maint...fix-comp-warnings
>
> https://github.com/nox/otp/compare/erlang:maint...fix-comp-warnings.patch
>
> Regards,
>
> --
> Anthony Ramine
>
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
>



-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130708/e807a6a9/attachment.html>


More information about the erlang-patches mailing list