[erlang-bugs] Call with a tuple as a module succeeds in Erlang 18 RC2

Fred Hebert mononcqc@REDACTED
Wed May 27 15:07:31 CEST 2015


On 05/27, Anthony Ramine wrote:
>From what I know, the module-as-tuple feature is here to stay and HiPE 
>is wrong to refuse to compile such code.
>

That is correct. See http://www.erlang.org/news/35, issue 4:

>Issue 4 - What to do with unsupported feature 'parameterized modules'.
>
> [...]
>
>To allow for source code compatibility, the board decides to only 
>remove the syntactic support for parameterized modules. This means:
>
>* Apply with tuple modules will be retained, supported and properly 
>documented.
>
> [...]
>
>* The parser will accept the syntax for implementation of parameterized 
>modules, but if the parameterized modules are not handled by a 
>parse_transform, an error message will be generated at a later stage 
>(this concerns the implementation of the modules themselves only).
>

I kept the relevant sections of the announcement.



More information about the erlang-bugs mailing list