[Bug 157] "Unexpected FunExp type" error on function literals
    Peri Hankey 
    mpah at thegreen.co.uk
       
    Sat May 27 08:23:20 PDT 2006
    
    
  
Peri Hankey wrote:
> 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.
> 
Results as promised (Mandrake/iva linux 10.x on x86):
* build and install RPMS for gdc-0.18/gcc-4.0.2
* build languagemachine from source tarball using gdc-0.18/gcc-4.0.2
* looks ok: calculator examples
* looks ok: metalanguage bootstrap
* looks ok: java-to-D translator (minimal test)
* looks ok: standard tests of languagemachine
Thanks for your help.
Peri
-- 
Peri Hankey                               mpah at thegreen.co.uk
http://languagemachine.sourceforge.net - The language machine
    
    
More information about the D.gnu
mailing list