<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/compiler/src, branch OTP_R16B03</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Typo fix ambigous -&gt; ambiguous</title>
<updated>2013-11-01T14:01:32+00:00</updated>
<author>
<name>Leo Correa</name>
<email>lcorr005@gmail.com</email>
</author>
<published>2013-10-04T20:40:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b179331cfb49ce67cda3e66c91f42fd29ed50116'/>
<id>b179331cfb49ce67cda3e66c91f42fd29ed50116</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove ^L characters hidden randomly in the code. Not those used in text files as delimiters.</title>
<updated>2013-09-12T13:09:35+00:00</updated>
<author>
<name>Pierre Fenoll</name>
<email>pierrefenoll@gmail.com</email>
</author>
<published>2013-09-10T14:48:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=21095e6830f37676dd29c33a590851ba2c76499b'/>
<id>21095e6830f37676dd29c33a590851ba2c76499b</id>
<content type='text'>
While working on a tool that processes Erlang code and testing it against this repo,
I found out about those little sneaky 0xff. I thought it may be of help to other
people build such tools to remove non-conforming-to-standard characters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While working on a tool that processes Erlang code and testing it against this repo,
I found out about those little sneaky 0xff. I thought it may be of help to other
people build such tools to remove non-conforming-to-standard characters.
</pre>
</div>
</content>
</entry>
<entry>
<title>core_lint: Correct the type error() to conform to the code</title>
<updated>2013-09-09T17:31:35+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2013-09-09T17:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=d63019dad7dc4fb6765a8e82967785878a7b5e98'/>
<id>d63019dad7dc4fb6765a8e82967785878a7b5e98</id>
<content type='text'>
Commit 60984ade updated the code, but not the type spec.

Noticed-by: Kostis Sagonas
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 60984ade updated the code, but not the type spec.

Noticed-by: Kostis Sagonas
</pre>
</div>
</content>
</entry>
<entry>
<title>compiler: Conform returned errors to the documented format</title>
<updated>2013-09-05T12:28:08+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2013-09-05T11:57:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=60984adef62f5e5bf8c65f403d4f8522afb6d40a'/>
<id>60984adef62f5e5bf8c65f403d4f8522afb6d40a</id>
<content type='text'>
ErrorInfo is documented to be:

  {ErrorLine,Module,ErrorDescriptor}

but for some errors with line numbers it would look like:

  {Module,ErrorDescriptor}

Ensure that all ErrorInfo tuples have three elements. Use 'none'
instead of a line number:

  {none,Module,ErrorDescriptor}

There already are errors that return 'none' when no line number is
available, but that convention was not documented. Mention it in the
documentation.

Also make sure that the compiler will not print 'none' as a line
number in error messages (if the 'report_errors' option is given) as
that looks stupid. That is, when attempting to compile a non-existing
module, the error message should be:

  non-existing.erl: no such file or directory

and not:

  non-existing.erl:none: no such file or directory
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ErrorInfo is documented to be:

  {ErrorLine,Module,ErrorDescriptor}

but for some errors with line numbers it would look like:

  {Module,ErrorDescriptor}

Ensure that all ErrorInfo tuples have three elements. Use 'none'
instead of a line number:

  {none,Module,ErrorDescriptor}

There already are errors that return 'none' when no line number is
available, but that convention was not documented. Mention it in the
documentation.

Also make sure that the compiler will not print 'none' as a line
number in error messages (if the 'report_errors' option is given) as
that looks stupid. That is, when attempting to compile a non-existing
module, the error message should be:

  non-existing.erl: no such file or directory

and not:

  non-existing.erl:none: no such file or directory
</pre>
</div>
</content>
</entry>
<entry>
<title>genop.tab: Add documentation for many BEAM instructions</title>
<updated>2013-09-04T10:43:44+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2013-09-04T10:28:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=053b721841efb06d3339c0376783a6dd09e625b5'/>
<id>053b721841efb06d3339c0376783a6dd09e625b5</id>
<content type='text'>
By Erik Stenman (happi) with corrections by me.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By Erik Stenman (happi) with corrections by me.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'nox/match-context-return/OTP-11247' into maint</title>
<updated>2013-08-26T08:32:19+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-08-26T08:32:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=e2c0f6dd1fc9b6bd506a481644b9c63f9d575aa1'/>
<id>e2c0f6dd1fc9b6bd506a481644b9c63f9d575aa1</id>
<content type='text'>
* nox/match-context-return/OTP-11247:
  Added primary bootstrap
  Forbid returning a match context in beam_validator
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* nox/match-context-return/OTP-11247:
  Added primary bootstrap
  Forbid returning a match context in beam_validator
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compiler crash for 'B and B' guard</title>
<updated>2013-08-15T10:21:06+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2013-08-14T11:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=8e10c8aac09de9165deb1c04cd908c8057c7f173'/>
<id>8e10c8aac09de9165deb1c04cd908c8057c7f173</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Forbid returning a match context in beam_validator</title>
<updated>2013-08-01T00:04:25+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-08-01T00:03:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=eaeea8dbde10e5e0a1c65bfd093ae18398b400d0'/>
<id>eaeea8dbde10e5e0a1c65bfd093ae18398b400d0</id>
<content type='text'>
If a match context is returned from a function without being converted
back to a plain old binary, the whole VM will crash.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a match context is returned from a function without being converted
back to a plain old binary, the whole VM will crash.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'nox/fix-comp-warnings/OTP-11212' into maint</title>
<updated>2013-07-29T09:42:26+00:00</updated>
<author>
<name>Fredrik Gustafsson</name>
<email>fredrik@erlang.org</email>
</author>
<published>2013-07-29T09:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0481ecafa24dc60c6bca8afdda038dc2239c991d'/>
<id>0481ecafa24dc60c6bca8afdda038dc2239c991d</id>
<content type='text'>
* nox/fix-comp-warnings/OTP-11212:
  Bootstrap
  Silence a misleading warning with some comprehensions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* nox/fix-comp-warnings/OTP-11212:
  Bootstrap
  Silence a misleading warning with some comprehensions
</pre>
</div>
</content>
</entry>
<entry>
<title>Restrict inlining of local fun references</title>
<updated>2013-07-03T14:19:39+00:00</updated>
<author>
<name>Anthony Ramine</name>
<email>n.oxyde@gmail.com</email>
</author>
<published>2013-05-18T16:06:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0db005980b30de5e6ad5dc3afee92d4c449a2f20'/>
<id>0db005980b30de5e6ad5dc3afee92d4c449a2f20</id>
<content type='text'>
Local fun references look like plain old variables in the Core Erlang
AST but should not be treated as such. Inlining of such expressions is
now restricted to application contexts as a local fun reference should
never occur in a guard.

This is not perfect as it forbids inlining in some safe situations, but
that is still better than a compiler crash.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Local fun references look like plain old variables in the Core Erlang
AST but should not be treated as such. Inlining of such expressions is
now restricted to application contexts as a local fun reference should
never occur in a guard.

This is not perfect as it forbids inlining in some safe situations, but
that is still better than a compiler crash.
</pre>
</div>
</content>
</entry>
</feed>
