[Issue 1350] delegate inside tuple; wrong values
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 26 01:57:18 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=1350
Don <clugdbug at 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 <clugdbug at 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: -------
More information about the Digitalmars-d-bugs
mailing list