I have this :

import d.ast.identifier;
alias AstCatchBlock = CatchBlock!(Identifier, AstStatement);

Identifier is a class defined in d.ast.identifier. I get the following error :
Error: undefined identifier Identifier

It seem dubious to me, but current version of DMD does this and master as well. The behavior is consistent.

When i declare the import at the top of the file, then it works. Am I missing something or this is a bug ?

Reply via email to