http://d.puremagic.com/issues/show_bug.cgi?id=6963
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
/0c86463e012dc6f95d996e0d627ca177a23e730a
fix Issue 6963 - pure/nothrow inference doesn't work for function pointers
If the VarDeclaration is not a compile time constant, defer semantic of it's
initializer.
https://github.com/D-Programming-Language/dmd/commit/f6a212814630113441a56a307a197400b922
Merge pull request #544 from 9rnsr
http://d.puremagic.com/issues/show_bug.cgi?id=6963
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||patch, rejects-valid
http://d.puremagic.com/issues/show_bug.cgi?id=6963
--- Comment #1 from Kenji Hara k.hara...@gmail.com 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