[erlang-patches] Optionally display full path in Dialyzer warnings
Björn Gustavsson
bgustavsson@REDACTED
Fri Sep 17 10:48:45 CEST 2010
On Wed, Sep 15, 2010 at 7:08 PM, Magnus Henoch
<magnus@REDACTED> 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! Will include in 'pu'.
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-patches
mailing list