<div dir="ltr"><div>Andrei, if the variable type has some indirections, it would be correctly rejected.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">@safe void foo()</div><div class="gmail_extra">
{</div><div class="gmail_extra">   int* x = void;  // error</div><div class="gmail_extra">}</div><div class="gmail_extra"><br></div><div class="gmail_extra">Error: variable test.foo.x void initializers for pointers not allowed in safe functions<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">So I'm not sure bug 10201 is correct or not...</div><br></div><div class="gmail_extra" style>Kenji Hara</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/5/30 Dicebot <span dir="ltr"><<a href="mailto:m.strashun@gmail.com" target="_blank">m.strashun@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wednesday, 29 May 2013 at 15:19:42 UTC, Andrei Alexandrescu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
YES. Oh boy how the heck did we miss that.<br>
<br>
Andrei<br>
</blockquote>
<br></div>
Makes sense :)<br>
<br>
<a href="http://d.puremagic.com/issues/show_bug.cgi?id=10201" target="_blank">http://d.puremagic.com/issues/<u></u>show_bug.cgi?id=10201</a><br>
</blockquote></div><br></div>