diff options
author | Gustav Simonsson <[email protected]> | 2012-03-15 11:35:20 +0100 |
---|---|---|
committer | Gustav Simonsson <[email protected]> | 2012-03-15 11:35:20 +0100 |
commit | d789eb25f5e426c5eeeac738ec687e61fe5984ac (patch) | |
tree | d6779a22a3b0d491622e389d848d34919c501cb5 /lib/dialyzer/src/dialyzer_gui.erl | |
parent | 5770544e06548e5aec265eaca487429bcf332b42 (diff) | |
parent | db9c249a0dd1c948f9bcbc47df166c13e7856357 (diff) | |
download | otp-d789eb25f5e426c5eeeac738ec687e61fe5984ac.tar.gz otp-d789eb25f5e426c5eeeac738ec687e61fe5984ac.tar.bz2 otp-d789eb25f5e426c5eeeac738ec687e61fe5984ac.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/dialyzer/src/dialyzer_gui.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_gui.erl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_gui.erl b/lib/dialyzer/src/dialyzer_gui.erl index f60194e01f..bac659548f 100644 --- a/lib/dialyzer/src/dialyzer_gui.erl +++ b/lib/dialyzer/src/dialyzer_gui.erl @@ -511,6 +511,16 @@ gui_loop(#gui_state{add_all = AddAll, add_file = AddFile, add_rec = AddRec, [ExtCalls]), free_editor(State, "Analysis done", Msg), gui_loop(State); + {BackendPid, ext_types, ExtTypes} -> + Map = fun({M,F,A}) -> io_lib:format("~p:~p/~p",[M,F,A]) end, + ExtTypeString = string:join(lists:map(Map, ExtTypes), "\n"), + Msg = io_lib:format("The following remote types are being used " + "but information about them is not available.\n" + "The analysis might get more precise by including " + "the modules containing these types and making sure " + "that they are exported:\n~s\n", [ExtTypeString]), + free_editor(State, "Analysis done", Msg), + gui_loop(State); {BackendPid, log, LogMsg} -> update_editor(Log, LogMsg), gui_loop(State); |