[erlang-patches] Silence a misleading warning with some comprehensions
Fri Jun 7 09:36:20 CEST 2013
On 06/06/2013 10:55 PM, Anthony Ramine wrote:
> 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
I've fetched your patch and it should be visible in the 'pu' branch shortly.
BR Fredrik Gustafsson
Erlang OTP Team
More information about the erlang-patches