[Issue 23651] Order dependency in semantic analysis of template members

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 23 23:21:19 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23651

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
aliasdecl is set to isAttrRange.

updateTemplate() calls aliasdecl->toAlias(), where the semantic for aliasdecl
gets called, which fails, because semantic for NameType hasn't been called yet.

The semantic for the NameType definition should be called in resolveHelper(),
but my attempts to call it there result in more problems.

Making this problem a separate issue should allow focus on it.

--


More information about the Digitalmars-d-bugs mailing list