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





------- Comment #1 from clugd...@yahoo.com.au  2009-02-03 08:18 -------
This workaround for this bug has changed. On 1.039, it now fails even if you
comment out the marked line. But it compiles if you add [] to the string.

int foo(Types...)() {
    foreach(T; Types) {
        ;
    }
    return 0;
}

const int q = foo!("abc"[])(); // OK


-- 

Reply via email to