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



--- Comment #1 from bearophile_h...@eml.cc 2011-03-28 09:49:05 PDT ---
Kai Meyer has shown this related program:


import std.typecons: tuple;
import std.c.stdio: printf;
auto foo() {
    printf("foo\n");
    return tuple(1, 2);
}
void main() {
    auto f2 = foo().tupleof;
}


Its output:

foo
foo

So maybe the problem seems isn't caused by the static foreach.

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

Reply via email to