D-Programming-Language/dmd — pull request #1659 by 9rnsr (2013-02-13 08:30:38+00:00)
Title: Issue 9504 - typeof does not look up properties correctly on template argument

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

The identifiers followed by `typeof(exp)` or `typeod(return)` may be resolved to symbol or expression. `Type[Typeof|Return]::resolve` should consider it.