Undefined identifier, is that intended ?
deadalnix
deadalnix at gmail.com
Sat Dec 14 21:38:57 PST 2013
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 ?
More information about the Digitalmars-d
mailing list