digitalmars.D.bugs - [Issue 1203] New: Cannot create Anonclass in loop
- d-bugmail puremagic.com (33/33) Apr 30 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1203
- d-bugmail puremagic.com (11/11) May 06 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1203
- d-bugmail puremagic.com (9/9) Jul 01 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1203
http://d.puremagic.com/issues/show_bug.cgi?id=1203 Summary: Cannot create Anonclass in loop Product: D Version: 1.014 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: benoit tionex.de class C { public this(){ } } interface I { void fnc(); } void main(){ char[][] t; foreach( char[] c; t ){ new class( c ) C, I { public this( char[] c ){ super(); } void fnc(){ } }; } } Error: constructor calls not allowed in loops or after labels --
Apr 30 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1203 thomas-dloop kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows |All Added to DStress as http://dstress.kuehne.cn/run/s/super_15_A.d http://dstress.kuehne.cn/run/s/super_15_B.d http://dstress.kuehne.cn/run/s/super_15_C.d --
May 06 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1203 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Fixed DMD 1.018 and DMD 2.002 --
Jul 01 2007