From e09dd66dc4d89c62ddfd8c19791f9678d5d787c6 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 12 May 2015 18:18:55 +0200 Subject: Prepare release --- lib/compiler/doc/src/notes.xml | 88 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) (limited to 'lib/compiler/doc/src/notes.xml') diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml index 9b5b44f3e1..0654738247 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -31,6 +31,94 @@

This document describes the changes made to the Compiler application.

+
Compiler 6.0 + +
Fixed Bugs and Malfunctions + + +

+ The compiler optimizes away building of terms that are + never actually used. As a result, the compiler in OTP 18 + may produce more warnings for terms that are built but + not used than the compiler in OTP 17.

+

+ Own Id: OTP-12453

+
+ +

+ Using a map could incorrectly suppress warnings for + unused variables.

+

+ Own Id: OTP-12515

+
+ +

+ The compiler now properly reports unknown parse + transforms. That is, undef exceptions coming from + the parse transform itself is reported differently from + the absence of the parse transform.

+

+ Own Id: OTP-12723

+
+
+
+ + +
Improvements and New Features + + +

+ The cerl and cerl_trees modules in the + compiler application are now documented.

+

+ Own Id: OTP-11978

+
+ +

+ The deprecated 'asm' option has been removed.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-12100

+
+ +

+ Support variables as Map keys in expressions and patterns

+

Erlang will accept any expression as keys in Map + expressions and it will accept literals or bound + variables as keys in Map patterns.

+

+ Own Id: OTP-12218

+
+ +

+ Infer Map type information in beam_type compiler + optimization pass.

+

+ Own Id: OTP-12253

+
+ +

+ Compiler optimizations have been improved.

+

+ Own Id: OTP-12393

+
+ +

+ Five undocumented functions in the module core_lib + have been deprecated and will be removed in the next + major release. The functions are: get_anno/{1,2}, + is_literal/1, is_literal_list/1, and + literal_value. Use the appropriate functions in + the cerl module instead.

+

+ Own Id: OTP-12497

+
+
+
+ +
+
Compiler 5.0.4
Fixed Bugs and Malfunctions -- cgit v1.2.3