aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2013-03-06 00:35:53 +0000
committerMagnus Henoch <[email protected]>2013-03-06 00:35:53 +0000
commit412ca8f432af37876f8462c47ce91cda08e575d6 (patch)
tree1be07cfceca71756713fcedcf9cc4421957e0a4f /lib/dialyzer/test
parent05f11890bdfec4bfc3a78e191a87e70a937ffc54 (diff)
downloadotp-412ca8f432af37876f8462c47ce91cda08e575d6.tar.gz
otp-412ca8f432af37876f8462c47ce91cda08e575d6.tar.bz2
otp-412ca8f432af37876f8462c47ce91cda08e575d6.zip
Include module, function and arity in Dialyzer's "overlapping domain" warnings
The function name can give information that the line number doesn't, for example when using a parse transform that creates new functions.
Diffstat (limited to 'lib/dialyzer/test')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/results/contract34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/results/contract3 b/lib/dialyzer/test/small_SUITE_data/results/contract3
index 44b49e745a..6e111f87d9 100644
--- a/lib/dialyzer/test/small_SUITE_data/results/contract3
+++ b/lib/dialyzer/test/small_SUITE_data/results/contract3
@@ -1,3 +1,3 @@
-contract3.erl:17: Overloaded contract has overlapping domains; such contracts are currently unsupported and are simply ignored
-contract3.erl:29: Overloaded contract has overlapping domains; such contracts are currently unsupported and are simply ignored
+contract3.erl:17: Overloaded contract for contract3:t1/1 has overlapping domains; such contracts are currently unsupported and are simply ignored
+contract3.erl:29: Overloaded contract for contract3:t3/3 has overlapping domains; such contracts are currently unsupported and are simply ignored