diff options
author | Magnus Henoch <[email protected]> | 2013-03-26 12:54:16 +0000 |
---|---|---|
committer | Magnus Henoch <[email protected]> | 2013-03-26 14:08:44 +0000 |
commit | b22ecf19e81baac844878afd896ebbdda4266a84 (patch) | |
tree | 619a00871ba9e2f6040578c43ef4ee0449ad51e9 /lib/edoc/doc/pdf | |
parent | da0355042254d98a06acddbf7361bd0f0f4b4f7f (diff) | |
download | otp-b22ecf19e81baac844878afd896ebbdda4266a84.tar.gz otp-b22ecf19e81baac844878afd896ebbdda4266a84.tar.bz2 otp-b22ecf19e81baac844878afd896ebbdda4266a84.zip |
Improve Dialyzer output for scan errors
To reproduce, create an empty file "foo.erl" and run dialyzer on it.
Results without this patch:
$ dialyzer --src /tmp/foo.erl
Checking whether the PLT /Users/magnus/.dialyzer_r16_plt is up-to-date... yes
Proceeding with analysis...
dialyzer: Analysis failed with error:
Could not scan the following file(s): [{"/tmp/foo.erl",
["/tmp/foo.erl:1: no module definition\n"]}]
Last messages in the log cache:
Reading files and computing callgraph...
Results with this patch:
$ dialyzer --src /tmp/foo.erl
Checking whether the PLT /Users/magnus/.dialyzer_r16_plt is up-to-date... yes
Proceeding with analysis...
dialyzer: Analysis failed with error:
Could not scan the following file(s):
/tmp/foo.erl:1: no module definition
Last messages in the log cache:
Reading files and computing callgraph...
Diffstat (limited to 'lib/edoc/doc/pdf')
0 files changed, 0 insertions, 0 deletions