[erlang-bugs] Call with a tuple as a module succeeds in Erlang 18 RC2
Anthony Ramine
n.oxyde@REDACTED
Wed May 27 14:00:41 CEST 2015
Le 27 mai 2015 à 13:40, Stavros Aronis <aronisstav@REDACTED> a écrit :
> Hello!
>
> It seems that there are some leftovers from the parameterized modules support in the compiler for Erlang 18 RC2 (and also earlier Erlang versions). In the example below, even though the compiler emits warnings when a tuple is used as a module name, the code executes without error.
>
> Requesting HiPE compilation restores the 'correct' behaviour (an error is raised).
>
> Regards,
>
> Stavros
From what I know, the module-as-tuple feature is here to stay and HiPE is wrong to refuse to compile such code.
More information about the erlang-bugs
mailing list