Hi all,<div><br></div><div>When aliases are used I expect to see it names on compile errors. But when I use:</div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<font face="'courier new', monospace">struct __Bulk(T) {<br>    T[] chunks;<br>}<br>alias __Bulk!(byte) Bulk;<br>alias __Bulk!Bulk   MultiBulk;</font></blockquote></div><div><div><br></div><div>The compilation error for:</div>

<div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="'courier new', monospace">void question1() {<br>

    Bulk("bad");<br>}</font></blockquote></div><div><br></div><div>is:</div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<font face="'courier new', monospace">bla.d(12): Error: cannot implicitly convert expression ("bad") of type string to byte[]<br>bla.d(12): Error: structliteral has no effect in expression (__Bulk((__error)))</font></blockquote>

</div><div><br></div><div>I expected to see <font face="'courier new', monospace">(Bulk((__error)))</font> instead of <font face="'courier new', monospace">(__Bulk((__error)))</font>.</div><div><br></div>
<div>
And the runtime output error for:</div><div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<font face="'courier new', monospace">void question2() {<br>    MultiBulk mb;<br>    writeln(typeid(mb));<br>}</font></blockquote></div><div><br></div><div>is:</div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<font face="'courier new', monospace">bla.__Bulk!(__Bulk!(byte)).__Bulk</font></blockquote><div><br></div><div>Despite in runtime I accept don't see aliases name, if it is needed for accomplish speed.</div><div>

<br></div><div>What are your opinions about these erros output?</div><div><br></div><div>Pedro Lacerda</div><br>
</div>