<html>
<head>
<base href="http://bugzilla.gdcproject.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - cc1d locks up when specifying function instead of function pointer in an array"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=178#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - cc1d locks up when specifying function instead of function pointer in an array"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=178">bug 178</a>
from <span class="vcard"><a class="email" href="mailto:jens-bugzilla@gpio.dk" title="Jens Bauer <jens-bugzilla@gpio.dk>"> <span class="fn">Jens Bauer</span></a>
</span></b>
<pre>(In reply to Ketmar Dark from <a href="show_bug.cgi?id=178#c8">comment #8</a>)
<span class="quote">> in your case, however, CTFE engine should abort before even trying to
> evaluate anything, as `void` is not a value suitable for array element. this
> check is easier, and it worth filling a bug in DMD bugzilla.</span >
Yes, I agree. Evaluating the function is also redundant, as void is specified
to return 0.
If I had made it return an int, the case would be different.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>