[erlang-patches] [erlang-bugs] syntax_tools anonymous function error

David Welton <>
Thu Dec 19 11:56:52 CET 2013


> We will not merge this patch just before Christmas and release a R16B03-1.


> Our suggestion is that:
> 1. If you are affected by this bug, apply the patch yourself until it will
> be merged into Erlang/OTP. (probably 17rc1 late January)

That's not really a workable solution for most people using CB.  Zach
can correct me if I'm wrong, but I think the idea is going to simply
put a warning in CB so that people trying to use it with a R16B03 -
pretty much anyone who gets the "latest and greatest" from, say,
Erlang Solutions .deb repository - will get a user friendly message
saying that that release of Erlang is incompatible with Chicago Boss,
so please downgrade.

> 2. If you are using chicagoboss, stay on R16B02 if possible.

That probably works now that people have been warned.

> 3. compile "lib/syntax_tools/src/erl_syntax.erl" and put the beam up for
> download on chicagoboss.org for R16B03 users.

I am not an Erlang power user like you guys, but is it possible to
include that code in CB itself, and conditionally load it, overriding
the system version of that file, in the case of R16B03?

> 4. add the patch to the rebar deps of chicagoboss.

I think something like this could work too, but i don't know the
details of how it would work out.

> We will try to make sure things like this do not sneak into releases in the
> future, and apologise for the inconvenience caused.

I'm just a Chicago Boss user trying to figure out a solution that
improves things for everyone.  I realize that parse_transforms are
kind of a 'dark corner' of Erlang, so I appreciate the help.

Thank you
David N. Welton



More information about the erlang-patches mailing list