[Issue 12122] Template with enumerated constant length array causes error.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 9 12:27:48 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12122


bearophile_hugs at eml.cc changed:

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


--- Comment #1 from bearophile_hugs at eml.cc 2014-02-09 12:27:46 PST ---
Reduced:


enum N = 1;
void foo(T)(T[N]) if(is(T == int)) {}
void main() {
    int[N] data;
    foo(data);
}

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


More information about the Digitalmars-d-bugs mailing list