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

Kostis Sagonas <>
Wed Mar 6 01:58:04 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

LGTM.

Kostis


More information about the erlang-patches mailing list