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

Fredrik fredrik@REDACTED
Fri Jun 7 09:36:20 CEST 2013


On 06/06/2013 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,
>
Hello Anthony,
I've fetched your patch and it should be visible in the 'pu' branch shortly.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team




More information about the erlang-patches mailing list