<p>> Using the current git version of dmd I realized that C works! Hence, as<br>
> a workaround it can be used by creating a local alias A and subsequently<br>
> using A.Alias in the is-expressions. But it seems odd that<br>
><br>
> "alias typeof(X).A B;" does not work but<br>
> "alias typeof(X) Y; alias Y.A B;" does.<br>
><br>
> Is this considered as a bug?</p>
<p>I should say so: it's surprising, and limiting for the user.</p>