[Issue 6341] Segfault with variadic delegate parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 31 07:26:40 PDT 2011


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



--- Comment #2 from Robert Clipsham <robert at octarineparrot.com> 2011-07-31 15:26:40 BST ---
This hack works as a workaround:
----
void print(void delegate(string) _dg)
{
    void dg(string a...)
    {
        _dg(a);
    }
    dg();
}
----

-- 
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