<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/typer/src, branch OTP_R15B</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Fix Dialyzer's warnings in typer</title>
<updated>2011-12-01T10:55:10+00:00</updated>
<author>
<name>Stavros Aronis</name>
<email>aronisstav@gmail.com</email>
</author>
<published>2011-11-30T10:08:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ed1b0523597b3309b72ae96234a06c9f6ad5b67e'/>
<id>ed1b0523597b3309b72ae96234a06c9f6ad5b67e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix crash in Typer</title>
<updated>2011-11-30T13:18:32+00:00</updated>
<author>
<name>Stavros Aronis</name>
<email>aronisstav@gmail.com</email>
</author>
<published>2011-11-24T22:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=18427c8e60494d34ea1d7b85fe4dd76b65736cc7'/>
<id>18427c8e60494d34ea1d7b85fe4dd76b65736cc7</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 'sa/dialyzer-bug-fixes' into dev</title>
<updated>2011-09-29T15:32:50+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2011-09-29T15:32:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0911888f960502e4ee789e82141090c31a2a83a8'/>
<id>0911888f960502e4ee789e82141090c31a2a83a8</id>
<content type='text'>
* sa/dialyzer-bug-fixes:
  Fix typer's crash for nonexisting files
  Remove unused macro
  Decrease tuple arity limit
  Fix bug in dataflow

OTP-9597
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sa/dialyzer-bug-fixes:
  Fix typer's crash for nonexisting files
  Remove unused macro
  Decrease tuple arity limit
  Fix bug in dataflow

OTP-9597
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typer's crash for nonexisting files</title>
<updated>2011-09-28T06:08:25+00:00</updated>
<author>
<name>Stavros Aronis</name>
<email>aronisstav@gmail.com</email>
</author>
<published>2011-09-28T06:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e4d5a206975e7718f6a95d5610ddc45b1d801c49'/>
<id>e4d5a206975e7718f6a95d5610ddc45b1d801c49</id>
<content type='text'>
... and do some small cleanups.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and do some small cleanups.
</pre>
</div>
</content>
</entry>
<entry>
<title>Quote atoms if necessary in types</title>
<updated>2011-09-16T09:09:05+00:00</updated>
<author>
<name>Tomas Abrahamsson</name>
<email>tomas.abrahamsson@gmail.com</email>
</author>
<published>2011-09-15T17:38:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9c132d619bb3b88201019a39d064f2852a067fb0'/>
<id>9c132d619bb3b88201019a39d064f2852a067fb0</id>
<content type='text'>
Atoms in some occurrences were not correctly quoted when formatted to
strings, for instance by the typer program. Example:

    -module(tb).
    -export(['UPPERCASE-FUNCTION-NAME'/0, f1/0, f2/0, f3/0]).
    -record('UPPERCASE-RECORD-NAME', {x}).
    -record(r2, {'UPPERCASE-FIELD-NAME'}).
    -type 'UPPERCASE-TYPE-NAME'() :: integer().

    'UPPERCASE-FUNCTION-NAME'() -&gt; ok.

    f1() -&gt; #'UPPERCASE-RECORD-NAME'{x=1}.

    f2() -&gt; #r2{'UPPERCASE-FIELD-NAME'=1}.

    -spec f3() -&gt; 'UPPERCASE-TYPE-NAME'().
    f3() -&gt; 1.

Given the program above, the output from typer --plt some.plt tb.erl
resulted in the following specs being printed:

    -spec UPPERCASE-FUNCTION-NAME() -&gt; 'ok'.
    -spec f1() -&gt; #UPPERCASE-RECORD-NAME{x::1}.
    -spec f2() -&gt; #r2{UPPERCASE-FIELD-NAME::1}.
    -spec f3() -&gt; UPPERCASE-TYPE-NAME().

This commit changes the output to become the following:

    -spec 'UPPERCASE-FUNCTION-NAME'() -&gt; 'ok'.
    -spec f1() -&gt; #'UPPERCASE-RECORD-NAME'{x::1}.
    -spec f2() -&gt; #r2{'UPPERCASE-FIELD-NAME'::1}.
    -spec f3() -&gt; 'UPPERCASE-TYPE-NAME'().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Atoms in some occurrences were not correctly quoted when formatted to
strings, for instance by the typer program. Example:

    -module(tb).
    -export(['UPPERCASE-FUNCTION-NAME'/0, f1/0, f2/0, f3/0]).
    -record('UPPERCASE-RECORD-NAME', {x}).
    -record(r2, {'UPPERCASE-FIELD-NAME'}).
    -type 'UPPERCASE-TYPE-NAME'() :: integer().

    'UPPERCASE-FUNCTION-NAME'() -&gt; ok.

    f1() -&gt; #'UPPERCASE-RECORD-NAME'{x=1}.

    f2() -&gt; #r2{'UPPERCASE-FIELD-NAME'=1}.

    -spec f3() -&gt; 'UPPERCASE-TYPE-NAME'().
    f3() -&gt; 1.

Given the program above, the output from typer --plt some.plt tb.erl
resulted in the following specs being printed:

    -spec UPPERCASE-FUNCTION-NAME() -&gt; 'ok'.
    -spec f1() -&gt; #UPPERCASE-RECORD-NAME{x::1}.
    -spec f2() -&gt; #r2{UPPERCASE-FIELD-NAME::1}.
    -spec f3() -&gt; UPPERCASE-TYPE-NAME().

This commit changes the output to become the following:

    -spec 'UPPERCASE-FUNCTION-NAME'() -&gt; 'ok'.
    -spec f1() -&gt; #'UPPERCASE-RECORD-NAME'{x::1}.
    -spec f2() -&gt; #r2{'UPPERCASE-FIELD-NAME'::1}.
    -spec f3() -&gt; 'UPPERCASE-TYPE-NAME'().
</pre>
</div>
</content>
</entry>
<entry>
<title>Add options -pa Dir and -pz Dir to TypEr</title>
<updated>2011-03-23T08:37:40+00:00</updated>
<author>
<name>Tomas Abrahamsson</name>
<email>tomas.abrahamsson@gmail.com</email>
</author>
<published>2011-03-22T22:07:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4240cf0583ce8974487912bbc8a4f5851d0754ed'/>
<id>4240cf0583ce8974487912bbc8a4f5851d0754ed</id>
<content type='text'>
Setting code path options is useful e.g. when analyzing programs that
use parse transforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Setting code path options is useful e.g. when analyzing programs that
use parse transforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2011-03-11T16:34:22+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>psyeugenic@gmail.com</email>
</author>
<published>2011-03-11T16:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d53be747c945d5e86997e1944446795b271dacb4'/>
<id>d53be747c945d5e86997e1944446795b271dacb4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Strengthen some specs</title>
<updated>2011-02-10T08:40:28+00:00</updated>
<author>
<name>Kostis Sagonas</name>
<email>kostis@cs.ntua.gr</email>
</author>
<published>2011-02-10T08:40:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4d7ada26e135a633b469ce6250b47d4210472a2c'/>
<id>4d7ada26e135a633b469ce6250b47d4210472a2c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow for --show_success_typings spelling also</title>
<updated>2011-02-10T08:17:37+00:00</updated>
<author>
<name>Kostis Sagonas</name>
<email>kostis@cs.ntua.gr</email>
</author>
<published>2011-02-10T08:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=179fff827985bc314f2a4cc953d66cdfebb05a57'/>
<id>179fff827985bc314f2a4cc953d66cdfebb05a57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add '--show_success_typings' option</title>
<updated>2011-02-09T18:41:14+00:00</updated>
<author>
<name>Stavros Aronis</name>
<email>aronisstav@gmail.com</email>
</author>
<published>2011-02-08T14:58:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=405342e5adac19e4522bff90ffd4bda39f742c9a'/>
<id>405342e5adac19e4522bff90ffd4bda39f742c9a</id>
<content type='text'>
With '--show_success_typings' Typer will print/use the final
success typings from Dialyzer and ignore/overwrite any existing
contracts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With '--show_success_typings' Typer will print/use the final
success typings from Dialyzer and ignore/overwrite any existing
contracts.
</pre>
</div>
</content>
</entry>
</feed>
