Public bug reported:

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

** Affects: erlang (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327104

Title:
  internal error in lint_module

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/erlang/+bug/1327104/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to