Re: Silence a misleading warning with some comprehensions
Fredrik <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.patches |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ erlang-patches mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-patches