[erlang-patches] Optionally display full path in Dialyzer warnings

Kostis Sagonas <>
Thu Jan 20 19:50:20 CET 2011

long ago, Magnus Henoch wrote:
> Currently, Dialyzer warning messages only contain the base name of the
> file, e.g.:
> mysql_conn.erl:648: The created fun has no local return
> However, when running Dialyzer on a deep directory tree it is
> sometimes useful to have the full paths in the warning output.  In
> particular, when viewing the output in Emacs, hitting RET on an entry
> to jump to the error will often yield a prompt for which directory the
> file is in; with full paths we would avoid that prompt.
> This change adds a --fullpath option to Dialyzer, which makes the
> warning messages contain the full path of the corresponding file.
> git fetch git://github.com/legoscia/otp.git dialyzer_full_path_option

Thanks for this addition!

Prompted by the folks at OTP, I took a look at your patch and revised it 
slightly in the manner described in the commit message.

The --fullpath option to dialyzer can now be included in OTP.
The patch can be fetched by:

   git fetch git://github.com/kostis/otp.git dialyzer-fullpath


More information about the erlang-patches mailing list