[Issue 369] New: "immediate"-function types allowed as part of delegate/function types.
Thomas Kuehne
thomas-dloop at kuehne.cn
Fri Oct 6 00:05:27 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
d-bugmail at puremagic.com schrieb am 2006-09-26:
> http://d.puremagic.com/issues/show_bug.cgi?id=369
> Similarly to 368, "immediate"-function types allowed as part of
> delegate/function types :
>
> --------
> void func() { }
>
> int delegate(typeof(func)) dg;
> int function(typeof(func)) fp;
> typeof(func) delegate() dg2;
> typeof(func) function() fp2;
>
> void test() {
> dg2(); // ICE: Internal error: ..\ztc\cod1.c 2331
> }
> ----
Added to DStress as
http://dstress.kuehne.cn/nocompile/t/typeof_12_C.d
http://dstress.kuehne.cn/nocompile/t/typeof_12_D.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFFJgHALK5blCcjpWoRAjfKAJ46F8HlcAOrZ6Yajgk05kOWmoRZ4ACgqpQ4
wLjvPWrx3iwUJxQkTGUqQYc=
=AO23
-----END PGP SIGNATURE-----
More information about the Digitalmars-d-bugs
mailing list