aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer.hrl
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-02-28 00:00:33 +0100
committerHans Bolinder <[email protected]>2016-04-28 16:16:09 +0200
commite3ac51b173585f84c397ae38c27d772be2d308c6 (patch)
tree209839880b65086d3be7e5db1c42fe1fe5f85708 /lib/dialyzer/src/dialyzer.hrl
parent92a672ff8159741ebbc9f3eb11e8a81d7067d2c7 (diff)
downloadotp-e3ac51b173585f84c397ae38c27d772be2d308c6.tar.gz
otp-e3ac51b173585f84c397ae38c27d772be2d308c6.tar.bz2
otp-e3ac51b173585f84c397ae38c27d772be2d308c6.zip
dialyzer_dataflow: Add map support
Diffstat (limited to 'lib/dialyzer/src/dialyzer.hrl')
-rw-r--r--lib/dialyzer/src/dialyzer.hrl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer.hrl b/lib/dialyzer/src/dialyzer.hrl
index 601e2e954b..ea6a71217c 100644
--- a/lib/dialyzer/src/dialyzer.hrl
+++ b/lib/dialyzer/src/dialyzer.hrl
@@ -60,6 +60,7 @@
-define(WARN_BEHAVIOUR, warn_behaviour).
-define(WARN_UNDEFINED_CALLBACK, warn_undefined_callbacks).
-define(WARN_UNKNOWN, warn_unknown).
+-define(WARN_MAP_CONSTRUCTION, warn_map_construction).
%%
%% The following type has double role:
@@ -75,7 +76,8 @@
| ?WARN_CONTRACT_SUPERTYPE | ?WARN_CALLGRAPH
| ?WARN_UNMATCHED_RETURN | ?WARN_RACE_CONDITION
| ?WARN_BEHAVIOUR | ?WARN_CONTRACT_RANGE
- | ?WARN_UNDEFINED_CALLBACK | ?WARN_UNKNOWN.
+ | ?WARN_UNDEFINED_CALLBACK | ?WARN_UNKNOWN
+ | ?WARN_MAP_CONSTRUCTION.
%%
%% This is the representation of each warning as they will be returned