[Issue 304] Internal error: e2ir.c 145

Thomas Kuehne thomas-dloop at kuehne.cn
Fri Aug 25 04:50:40 PDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-08-22:
> http://d.puremagic.com/issues/show_bug.cgi?id=304

> ------- Comment #1 from benoit at tionex.de  2006-08-22 05:50 -------
> (In reply to comment #0)
>
> Ok I have cut it down:
>
>=== main.d ===
> module main;
>
> import inc;
>
> void main(){
>     func1( { func2(); });
> }
>
>=== inc.d ===
> module inc;
>
> alias void delegate() dg;
>
> void func1( dg aDg = null ){
> }
>
> void func2( dg aDg = null ){
> }
>
>=== Compile with 'dmd main.d' === 
> Internal error: e2ir.c 145

Added to DStress as
http://dstress.kuehne.cn/compile/b/bug_e2ir_145_A.d
http://dstress.kuehne.cn/run/b/bug_e2ir_145_B.d
http://dstress.kuehne.cn/run/b/bug_e2ir_145_C.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFE7unFLK5blCcjpWoRAjINAJ9wTb4mXKQfLqVv4rpRzow/+OuJsQCdFpCB
EYd8m0d/Zm1XYIKtTqtPXzQ=
=cMHB
-----END PGP SIGNATURE-----



More information about the Digitalmars-d-bugs mailing list