internal error in lint_module
Bug #1327104 reported by
Christopher Hall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
erlang (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The current version of Erlang 16B03 cannot compile function parameters
and issues a error from the lint module. There was no problem with 16B02.
This appears to be caused by a bug in syntax_tools-1.6.12 [OTP-11576] and has been fixed in 16B03-1.
An example of the code that fails:
the_test() -> lists:map(fun double/1, [1,2,3]).
double(X) -> 2 * x.
As a work around I installed 17 from Erlang solutions and the code compiles
correctly.
OS Version: 14.04 LTS
Linux Version: 3.13.0-29-generic x86_64
To post a comment you must log in.
Just to add that the working 16B02 was replaced by broken 16B03 after 12.04 LTS machine was upgraded to 14.04.