<div dir="ltr"><div>Thanks Anthony & Fred!</div><div><br></div><div>As far as I can understand from <a href="http://www.erlang.org/news/35">http://www.erlang.org/news/35</a>:</div><div><br></div><div>* The compiler warnings are wrong. The calls will succeed, and are expected to do so, since tuples are supported.</div><div>* There should be 'proper documentation' about this feature somewhere, but I have failed to find it.</div><div>* HiPE is wrong in compiling this into something that returns a 'badarg' error.</div><div><br></div><div>It seems, therefore, that this is still a bug report, right?</div><div><br></div><div>Stavros</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 27, 2015 at 3:07 PM, Fred Hebert <span dir="ltr"><<a href="mailto:mononcqc@ferd.ca" target="_blank">mononcqc@ferd.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 05/27, Anthony Ramine wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
>From what I know, the module-as-tuple feature is here to stay and HiPE is wrong to refuse to compile such code.<br>
<br>
</blockquote>
<br></span>
That is correct. See <a href="http://www.erlang.org/news/35" target="_blank">http://www.erlang.org/news/35</a>, issue 4:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Issue 4 - What to do with unsupported feature 'parameterized modules'.<br>
<br>
[...]<br>
<br>
To allow for source code compatibility, the board decides to only remove the syntactic support for parameterized modules. This means:<br>
<br>
* Apply with tuple modules will be retained, supported and properly documented.<br>
<br>
[...]<br>
<br>
* 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).<br>
<br>
</blockquote>
<br>
I kept the relevant sections of the announcement.<br>
</blockquote></div><br></div>