Re: Call with a tuple as a module succeeds in Erlang 18 RC2
Anthony Ramine <[email protected]> Wed, 27 May 2015 14:00:41 +0200
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <[email protected]> |
Le 27 mai 2015 à 13:40, Stavros Aronis <[email protected]> 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. _______________________________________________ erlang-bugs mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-bugs