← Back to index
|
Original Bugzilla link
Bug 369 – "immediate"-function types allowed as part of delegate/function types.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-09-26T07:11:00Z
Last change time
2014-02-15T13:19:04Z
Keywords
accepts-invalid, ice-on-invalid-code
Assigned to
bugzilla
Creator
bruno.do.medeiros+deebugz
Comments
Comment #0
by bruno.do.medeiros+deebugz — 2006-09-26T07:11:31Z
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 } ----
Comment #1
by bugzilla — 2006-10-04T19:58:07Z
Fixed DMD 0.168
Comment #2
by thomas-dloop — 2006-10-06T02:10:34Z
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[email protected]
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-----