D-Programming-Language/dmd — pull request #2587 by 9rnsr (2013-09-25 05:22:39+00:00)
Title: [REG2.063] Issue 11010 - typeid doesn't work on a member of an instance

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

To distinguish the typeid context, add `bool intypeid` parameter on `Type::resolve()`.

Unfortunately, the dirty hack is necessary in order to avoid existing code breaking.