[Issue 2969] ICE on const declaration
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 13 02:24:58 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2969
Gide Nwawudu <gide at nwawudu.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
CC| |gide at nwawudu.com
Version|2.030 |2.029
OS/Version|Linux |All
--- Comment #1 from Gide Nwawudu <gide at nwawudu.com> 2009-05-13 02:24:57 PDT ---
Shorter version.
struct Sound {
int delegate(int) func;
this(int delegate(int) f) {
}
Sound opAdd(const(Sound) other)
{
return Sound(
(int t){
return other.func(0);
});
}
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list