http://d.puremagic.com/issues/show_bug.cgi?id=2969


Gide Nwawudu <g...@nwawudu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |g...@nwawudu.com
            Version|2.030                       |2.029
         OS/Version|Linux                       |All




--- Comment #1 from Gide Nwawudu <g...@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: -------

Reply via email to