Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: remove unnecessary check code in AliasThis.semantic
It was a workaround code for the AST internal inconsistency which has caused by template instantiations. Now, it's not necessary anymore, because the problem is properly handled at the top of StructDeclaration.semantic. ```d if (type.ty == Tstruct && (cast(TypeStruct)type).sym != this) { TemplateInstance ti = (cast(TypeStruct)type).sym.isInstantiated(); if (ti && isError(ti)) (cast(TypeStruct)type).sym = this; } ```
- Loading branch information