Re: [erlang-patches] [erlang-bugs] syntax_tools anonymous function error
Loïc Hoguin <[email protected]> Wed, 18 Dec 2013 12:12:51 +0100
| Newsgroups | gmane.comp.lang.erlang.chicagoboss,gmane.comp.lang.erlang.patches,gmane.comp.lang.erlang.bugs |
|---|---|
| Organization | Nine Nines |
| Message-ID | <[email protected]> |
On 12/18/2013 12:05 PM, David Welton wrote: > 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. Don't do that, this doesn't mean that the syntax_tools application will actually be the one that shipped with R16B03. Check the application version instead: application:get_key(syntax_tools, vsn). (Note that this is only available after the application is loaded.) -- Loïc Hoguin http://ninenines.eu -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit https://groups.google.com/groups/opt_out.