[Issue 21295] [REG] Symbol lookup/resolve in compilation broken in D
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 7 10:28:43 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21295
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Here is *a* reduced test, there might be more hidden issues, but this should be
trivial to debug.
// dmd/astcodegen;
module dmd.astcodegen;
struct ASTCodegen {
import dmd.dtemplate;
}
// dmd/ast_node.d
module dmd.ast_node;
import dmd.visitor : Visitor;
class ASTNode {
void accept(Visitor);
}
// dmd/cond.d
module dmd.cond;
import dmd.ast_node;
Visitor does_not_error; // <-- !!!!!!!!!
// dmd/dtemplate.d
module dmd.dtemplate;
import dmd.ast_node;
class TemplateParameter : ASTNode { }
// dmd/visitor.d
module dmd.visitor;
import dmd.astcodegen;
class Visitor { }
--
More information about the Digitalmars-d-bugs
mailing list