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



--- Comment #1 from Kenji Hara <[email protected]> 2011-11-18 02:20:42 PST ---
It doesn't occur if the declarations are in function scope.

void foo(X)(X x) {}

// doesn't work
//immutable void function(int) pure bar1 = &foo!(int);
//immutable nothrow pure bar2 = &foo!(int);

void main()
{
    // does work
    immutable void function(int) pure bar1 = &foo!(int);
    immutable nothrow pure bar2 = &foo!(int);
}

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

Reply via email to