[Issue 7197] enum string doesn't work with CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 1 18:15:21 PST 2012


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


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2012-01-01 18:15:19 PST ---
Reduced a bit:


int foo(int[] x...) {
    return 0;
}
template bar(y...) {
    enum int bar = foo(y);
}
enum int z = 1;
enum int w = bar!(z);
void main() {}

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