aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-08-21 15:06:56 +0200
committerHans Bolinder <[email protected]>2015-08-25 09:24:56 +0200
commita9f3424c8a04247a96e8bb5aed19b30276fcbad7 (patch)
tree3f1d9b0390228be634b657493fdacf008003cbbc
parentf51ee4709129bc2259e8dd443a278124b0d7e312 (diff)
downloadotp-a9f3424c8a04247a96e8bb5aed19b30276fcbad7.tar.gz
otp-a9f3424c8a04247a96e8bb5aed19b30276fcbad7.tar.bz2
otp-a9f3424c8a04247a96e8bb5aed19b30276fcbad7.zip
dialyzer: Correct the timing of the phase called 'remote'
-rw-r--r--lib/dialyzer/src/dialyzer_analysis_callgraph.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
index 76b43b6ff0..c57a22129c 100644
--- a/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
+++ b/lib/dialyzer/src/dialyzer_analysis_callgraph.erl
@@ -167,9 +167,12 @@ analysis_start(Parent, Analysis, LegalWarnings) ->
TmpCServer2 =
dialyzer_codeserver:insert_temp_exported_types(MergedExpTypes,
TmpCServer1),
- TmpCServer3 = dialyzer_utils:process_record_remote_types(TmpCServer2),
?timing(State#analysis_state.timing_server, "remote",
- dialyzer_contracts:process_contract_remote_types(TmpCServer3))
+ begin
+ TmpCServer3 =
+ dialyzer_utils:process_record_remote_types(TmpCServer2),
+ dialyzer_contracts:process_contract_remote_types(TmpCServer3)
+ end)
catch
throw:{error, _ErrorMsg} = Error -> exit(Error)
end,