From e020f75c10410a6943cd055bfa072a2641eab7da Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Thu, 2 Jun 2016 10:55:26 +0200 Subject: Prepare release --- lib/compiler/doc/src/notes.xml | 89 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 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 ae375c5f58..5d7f48857e 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -32,6 +32,95 @@

This document describes the changes made to the Compiler application.

+
Compiler 7.0 + +
Fixed Bugs and Malfunctions + + +

compile:forms/1,2 would crash when used in a + working directory thad had been deleted by another + process. (Thanks to Adam Lindberg for reporting this + bug.)

+

+ Own Id: OTP-13430 Aux Id: ERL-113

+
+ +

Dialyzer no longer crashes when there is an invalid + function call such as 42(7) in a module being + analyzed. The compiler will now warn for invalid function + calls such as X = 42, x(7). (ERL-138. Thanks to + Daniel Feltey for reporting this bug.)

+

+ Own Id: OTP-13552

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

+ Optimization of tuple matching has been slightly + improved.

+

+ Own Id: OTP-12951

+
+ +

Five deprecated and undocumented functions in the + module core_lib have been removed. 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-12979

+
+ +

The pre-processor can now expand the ?FUNCTION_NAME + and ?FUNCTION_ARITY macros.

+

+ Own Id: OTP-13059

+
+ +

The function mapfold/4 has been added to the + cerl_trees module.

+

+ Own Id: OTP-13280

+
+ +

Bitstring comprehensions have been generalized to + allow arbitrary expressions in the construction part.

+

+ Own Id: OTP-13289

+
+ +

The compiler will now produce warnings for binary + patterns that will never match (example: + <<-1/unsigned>> = Bin).

+

+ Own Id: OTP-13374 Aux Id: ERL-44

+
+ +

The compiler will no longer put the compilation date + and time into BEAM files. That means that two BEAM files + compiled on the same computer from the same source code + and compilation options will be identical.

+

Note: If you want to find out whether a BEAM file on + disk is different from the loaded code, compared the MD5 + value obtained from Mod:module_info(md5) with the + MD5 value obtained from + beam_lib:md5(BeamFileForMod)

. +

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-13504

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