D-Programming-Language/phobos — pull request #959 by 9rnsr (2012-11-19 04:15:34+00:00)
Title: fix Issue 9046 - typeof(T.init) should have the type T

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

This is a supplemental change of compiler fix.

`hasOverloadedOpAssignWithDuration!T` returns `true` even if `T` is not a mutable type (e.g. for `const Date`). But, until now, the type of `T.init` had been accidentally unqualified by bug 9046.

@jmdavis, could you please review this?