diff options
author | Henrik Nord <[email protected]> | 2014-02-07 11:20:39 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-02-07 11:20:39 +0100 |
commit | 60246d149deef631366bdca8605a8cf323427cc7 (patch) | |
tree | 3003997af5a68c64cda577006e887953ef538b56 /lib/dialyzer/src/dialyzer_dataflow.erl | |
parent | c958c0f0eb820842e924646de01dfd7d8bf94636 (diff) | |
parent | e4526b30228f360d2c8c894376f3856b9fc83c09 (diff) | |
download | otp-60246d149deef631366bdca8605a8cf323427cc7.tar.gz otp-60246d149deef631366bdca8605a8cf323427cc7.tar.bz2 otp-60246d149deef631366bdca8605a8cf323427cc7.zip |
Merge branch 'kostis/dialyzer-r17c0-fixes'
* kostis/dialyzer-r17c0-fixes:
Shut off a dialyzer unmatched return warning
Add a spec for a function that does not return
Diffstat (limited to 'lib/dialyzer/src/dialyzer_dataflow.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_dataflow.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_dataflow.erl b/lib/dialyzer/src/dialyzer_dataflow.erl index 33fa107019..03f9684b02 100644 --- a/lib/dialyzer/src/dialyzer_dataflow.erl +++ b/lib/dialyzer/src/dialyzer_dataflow.erl @@ -2302,6 +2302,9 @@ bind_guard_list([], Map, _Env, _Eval, _State, Acc) -> signal_guard_fail(Eval, Guard, ArgTypes, State) -> signal_guard_failure(Eval, Guard, ArgTypes, fail, State). +-spec signal_guard_fatal_fail(eval(), cerl:c_call(), [erl_types:erl_type()], + state()) -> no_return(). + signal_guard_fatal_fail(Eval, Guard, ArgTypes, State) -> signal_guard_failure(Eval, Guard, ArgTypes, fatal_fail, State). |