<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/dialyzer/src, branch maint</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Merge branch 'john/hipe/catch-miscompilation/OTP-15949' into maint</title>
<updated>2019-07-08T07:52:19+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-07-08T07:52:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=feb6a1f4fb1e2a841a4cca50ebad8f4a23ea000e'/>
<id>feb6a1f4fb1e2a841a4cca50ebad8f4a23ea000e</id>
<content type='text'>
* john/hipe/catch-miscompilation/OTP-15949:
  dialyzer: Remove native code compilation
  hipe: Disable compilation on encountering try/catch
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* john/hipe/catch-miscompilation/OTP-15949:
  dialyzer: Remove native code compilation
  hipe: Disable compilation on encountering try/catch
</pre>
</div>
</content>
</entry>
<entry>
<title>dialyzer: Remove native code compilation</title>
<updated>2019-07-05T12:41:30+00:00</updated>
<author>
<name>John Högberg</name>
<email>john@erlang.org</email>
</author>
<published>2019-07-05T12:41:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=28e6c67f1f099fc9a7f959c1489c2ceb51e3439b'/>
<id>28e6c67f1f099fc9a7f959c1489c2ceb51e3439b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949' into maint</title>
<updated>2019-06-27T06:38:15+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-06-27T06:38:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9991cba7ba29d632dfad03783e6a0183611f06ee'/>
<id>9991cba7ba29d632dfad03783e6a0183611f06ee</id>
<content type='text'>
* josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949:
  Always fallback to source when we can't parse AST
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* josevalim/dialyzer/formatting_fallback/OTP-15922/PR-2240/ERL-949:
  Always fallback to source when we can't parse AST
</pre>
</div>
</content>
</entry>
<entry>
<title>Always fallback to source when we can't parse AST</title>
<updated>2019-06-25T12:31:00+00:00</updated>
<author>
<name>José Valim</name>
<email>jose.valim@plataformatec.com.br</email>
</author>
<published>2019-05-17T17:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=dd9a4d6f559cac28fd74dac0ff62d27bfed66e64'/>
<id>dd9a4d6f559cac28fd74dac0ff62d27bfed66e64</id>
<content type='text'>
This commit fixes a bug in Dialyzer where it would assume
all Erlang AST can be converted back to valid Erlang code.
A case where this was is no true was already documented
in the source code, in relation to opaque types, but this
can also be true when it comes to other BEAM languages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes a bug in Dialyzer where it would assume
all Erlang AST can be converted back to valid Erlang code.
A case where this was is no true was already documented
in the source code, in relation to opaque types, but this
can also be true when it comes to other BEAM languages.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow native compilation when calling Dialyzer from Erlang</title>
<updated>2019-06-12T13:06:49+00:00</updated>
<author>
<name>Magnus Henoch</name>
<email>magnus.henoch@gmail.com</email>
</author>
<published>2019-06-12T13:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1be45363ac9b5ca4370a9769952f6f7641a067ad'/>
<id>1be45363ac9b5ca4370a9769952f6f7641a067ad</id>
<content type='text'>
Invoking Dialyzer through the function dialyzer:run/1 instead of from
the command line activates "Erlang mode", meaning that warnings are
returned instead of printed, and that HiPE compilation of modules does
not take place.  With this change, HiPE compilation can optionally be
enabled in this situation by passing the option {native, true}.
Caching of natively compiled modules is enabled by default, but can be
turned off using the option {native_cache, false}.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Invoking Dialyzer through the function dialyzer:run/1 instead of from
the command line activates "Erlang mode", meaning that warnings are
returned instead of printed, and that HiPE compilation of modules does
not take place.  With this change, HiPE compilation can optionally be
enabled in this situation by passing the option {native, true}.
Caching of natively compiled modules is enabled by default, but can be
turned off using the option {native_cache, false}.
</pre>
</div>
</content>
</entry>
<entry>
<title>dialyzer: Correct indentation of field warnings</title>
<updated>2019-06-04T12:13:25+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-06-04T12:09:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6b8b77173b426cecadd94c04c2c6d904569936a7'/>
<id>6b8b77173b426cecadd94c04c2c6d904569936a7</id>
<content type='text'>
See also https://bugs.erlang.org/browse/ERL-953.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See also https://bugs.erlang.org/browse/ERL-953.
</pre>
</div>
</content>
</entry>
<entry>
<title>dialyzer: Remove quotes around operators</title>
<updated>2019-05-07T06:25:03+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-04-14T09:24:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c2cd09c3d6807d2e93d117d9c6b47a706a50c763'/>
<id>c2cd09c3d6807d2e93d117d9c6b47a706a50c763</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dialyzer: Add an --no_indentation option</title>
<updated>2019-05-07T06:24:37+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-03-15T14:45:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b0a7495c44ebf6741714948bdf5c0cb9593ec953'/>
<id>b0a7495c44ebf6741714948bdf5c0cb9593ec953</id>
<content type='text'>
By default Dialyzer tries to improve the readability of warnings.
Newlines are inserted before and inside types, signatures, and Erlang
code. Sometimes the newlines look misplaced. The raw format
(option --raw) is not affected.

Use the new --no_indentation option get the old behavior (no inserted
line breaks).

A note on the implementation. The types &amp;c present in the warning
tuples are parsed, and then formatted using erl_pp, the Erlang Pretty
Printer. The alternative, to create message tuples with formatted
types, turned out to more complicated, and has no real benefits.

Also notice that the fixes for binaries (commit 9db8a098) and union
elements (commit a1e51d12) are required. As a consequence, messages
created before these commits using the --raw option cannot always be
indented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By default Dialyzer tries to improve the readability of warnings.
Newlines are inserted before and inside types, signatures, and Erlang
code. Sometimes the newlines look misplaced. The raw format
(option --raw) is not affected.

Use the new --no_indentation option get the old behavior (no inserted
line breaks).

A note on the implementation. The types &amp;c present in the warning
tuples are parsed, and then formatted using erl_pp, the Erlang Pretty
Printer. The alternative, to create message tuples with formatted
types, turned out to more complicated, and has no real benefits.

Also notice that the fixes for binaries (commit 9db8a098) and union
elements (commit a1e51d12) are required. As a consequence, messages
created before these commits using the --raw option cannot always be
indented.
</pre>
</div>
</content>
</entry>
<entry>
<title>dialyzer: Fix dialyzer_dataflow:format_args_1()</title>
<updated>2019-04-29T10:00:31+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-03-22T10:58:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=19e8e534cc26d890378265907ff0a56c101f2625'/>
<id>19e8e534cc26d890378265907ff0a56c101f2625</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dialyzer: Improve the warning tagged 'fun_app_args'</title>
<updated>2019-04-24T13:23:29+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2019-04-24T07:52:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6d9d4af8725f26972481b2e997c54ee5b3eafb29'/>
<id>6d9d4af8725f26972481b2e997c54ee5b3eafb29</id>
<content type='text'>
The mismatching argument positions are included.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mismatching argument positions are included.
</pre>
</div>
</content>
</entry>
</feed>
