[Bug 157] "Unexpected FunExp type" error on function literals

Peri Hankey mpah at thegreen.co.uk
Sat May 27 07:29:01 PDT 2006


d-bugmail at puremagic.com wrote:
> http://d.puremagic.com/bugzilla/show_bug.cgi?id=157
> 
> 
> 
> 
> 
> ------- Comment #1 from dvdfrdmn at users.sf.net  2006-05-27 07:56 -------
> Created an attachment (id=11)
>  --> (http://d.puremagic.com/bugzilla/attachment.cgi?id=11&action=view)
> Patch
> 
> Patch for missed case FuncExp::toElem
> 
> 

Quick, or what? Many thanks. But The patched file doesn't compile. I 
think line 14 of the patch should read:

+	return irs->nop(irs->addressOf(fd), type->toCtype());

instead of

+	return nop(irs->addressOf(fd), type->toCtype());

But that's mainly on the basis of superficial comparison with 
similar-looking bits of the code.

Will report results.

-- 
Peri Hankey                               mpah at thegreen.co.uk
http://languagemachine.sourceforge.net - The language machine



More information about the D.gnu mailing list