Re: Silence a misleading warning with some comprehensions

Björn Gustavsson <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <CA+yh78TN1LXBuXh+UJNH_NBbezpjc00awnabJ-1_KxPN0jA5dA@mail.gmail.com>
Looks good.


On Thu, Jun 6, 2013 at 10:55 PM, Anthony Ramine <[email protected]> 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
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-patches
>



-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.