diff options
author | Stavros Aronis <[email protected]> | 2011-02-22 02:41:06 +0200 |
---|---|---|
committer | Niclas Axelsson <[email protected]> | 2011-03-11 12:03:53 +0100 |
commit | 8342fcf5395133a19d647f2ace606af9b7fc1732 (patch) | |
tree | 36577d4747e8f8d1e7401409e7e7e293d74f895c /lib/dialyzer/src/dialyzer_options.erl | |
parent | 31ffea630ffd73d39970c3def796b00dd782373d (diff) | |
download | otp-8342fcf5395133a19d647f2ace606af9b7fc1732.tar.gz otp-8342fcf5395133a19d647f2ace606af9b7fc1732.tar.bz2 otp-8342fcf5395133a19d647f2ace606af9b7fc1732.zip |
Better blame assignment when a spec is erroneous
Applies to the specification of the return value of a function.
Diffstat (limited to 'lib/dialyzer/src/dialyzer_options.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_options.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_options.erl b/lib/dialyzer/src/dialyzer_options.erl index 29e164628a..b2a67de8bd 100644 --- a/lib/dialyzer/src/dialyzer_options.erl +++ b/lib/dialyzer/src/dialyzer_options.erl @@ -47,6 +47,7 @@ build(Opts) -> ?WARN_FAILING_CALL, ?WARN_BIN_CONSTRUCTION, ?WARN_CALLGRAPH, + ?WARN_CONTRACT_RANGE, ?WARN_CONTRACT_TYPES, ?WARN_CONTRACT_SYNTAX], DefaultWarns1 = ordsets:from_list(DefaultWarns), |