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

David Welton davidnwelton@REDACTED
Wed Dec 18 12:05:52 CET 2013


Hi,

> Next release is R17pre sometime in Jan
> So, If this fix that Anthony sent :
>
>         git fetchhttps://github.com/nox/otp.git  fix-OTP-11506
>
>
>         https://github.com/nox/otp/compare/erlang:maint...fix-OTP-11506
>
> https://github.com/nox/otp/compare/erlang:maint...fix-OTP-11506.patch
>
>
> Fixes the problem, you might have to apply that yourself until we merge it
> into master.

Applying a patch does not do much for code like Chicago Boss that
people will download and try with "the latest Erlang".

What is necessary is some code that will do

case erlang:system_info(otp_release) of
   "R16B03" ->
       ... mangle the AST in such a way to not make the parse transform barf...;
    _ -> ok
end.

I've been looking at how to do this, but I'm afraid my knowledge of
this part of Erlang is not quite up to the task so far.

Thank you,
-- 
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/



More information about the erlang-patches mailing list