Silence a misleading warning with some comprehensions

Anthony Ramine <[email protected]>
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <[email protected]>
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
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.