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 } ----
Fixed DMD 0.168
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 d-bugmail@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-----
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル