<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2013/4/23 Mehrdad <span dir="ltr"><<a href="mailto:wfunction@hotmail.com" target="_blank">wfunction@hotmail.com</a>></span><br><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">
On Tuesday, 23 April 2013 at 04:44:52 UTC, kenji hara wrote:<br>
<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"><div class="im">
<br>
This is mostly expected behavior. During compilation value identities are<br>
not guaranteed.<br>
Because compile time evaluation is always done after constant folding, and<br></div>
constant folding would fold "x".idup to "x", then S("x") == S("x") is<div class="im"><br>
evaluated to true.<br>
<br>
Kenji Hara<br>
</div></blockquote>


<br>
I'm not saying the 'true' is broken, I'm saying the 'false' is broken.<br>
<br>
<br>
And don't miss this one, which contradicts the behavior above<br>
<a href="http://forum.dlang.org/thread/uqkslzjnosrsnyqnhzes@forum.dlang.org?page=2#post-zdmtaeycpomrhjdeanlw:40forum.dlang.org" target="_blank">http://forum.dlang.org/thread/<u></u>uqkslzjnosrsnyqnhzes@forum.<u></u>dlang.org?page=2#post-<u></u>zdmtaeycpomrhjdeanlw:40forum.<u></u>dlang.org</a><br>

</blockquote></div><br></div><div class="gmail_extra">Ah, OK. Surely that is a compiler bug which still not fixed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Kenji Hara</div></div>