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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|alias template, typeof, or  |delegate inside tuple;
                   |tuple issue; wrong varags   |wrong values
                   |values                      |


--- Comment #2 from Don <clugd...@yahoo.com.au> 2010-04-26 01:55:37 PDT ---
Even further reduced. Nothing to do with varargs.
-------------
void Goat(Callbacks ...)() {
    alias Callbacks[0] Cb;  
    Callbacks[0](333); // fails
//    Cb(333); // but this works
}

void main() {
    Goat!(
        (int i) { assert(i==333); } 
    )();
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to