[erlang-patches] Include function name in "overlapping domain" Dialyzer warning
Magnus Henoch
magnus@REDACTED
Wed Mar 6 01:41:16 CET 2013
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
More information about the erlang-patches
mailing list