aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2013-03-26 12:54:16 +0000
committerMagnus Henoch <[email protected]>2013-03-26 14:08:44 +0000
commitb22ecf19e81baac844878afd896ebbdda4266a84 (patch)
tree619a00871ba9e2f6040578c43ef4ee0449ad51e9 /lib/common_test
parentda0355042254d98a06acddbf7361bd0f0f4b4f7f (diff)
downloadotp-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/common_test')
0 files changed, 0 insertions, 0 deletions