[erlang-patches] Include function name in "overlapping domain" Dialyzer warning

Fredrik fredrik@REDACTED
Wed Mar 6 10:50:31 CET 2013


On 03/06/2013 01:41 AM, Magnus Henoch wrote:
> This patch changes the Dialyzer warning from:
>
> "Overloaded contract has overlapping domains"
>
> to:
>
> "Overloaded contract for foo:bar/1 has overlapping domains"
>
> I recently debugged contracts generated by a parse transform, where the
> line number was of no help, but a function name in the warning would
> have been useful.
>
> git fetch git://github.com/legoscia/otp.git dialyzer-overlapping-warning
>
> https://github.com/legoscia/otp/compare/legoscia:dialyzer-overlapping-warning
> https://github.com/legoscia/otp/compare/legoscia:dialyzer-overlapping-warning.patch
>
> Regards,
> Magnus
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
Fetched, and currently in the 'pu' branch..
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team




More information about the erlang-patches mailing list