Thread overview
[Issue 23651] Order dependency in semantic analysis of template members
Jan 24
Dlang Bot
Jan 25
Dlang Bot
January 23
https://issues.dlang.org/show_bug.cgi?id=23651

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23598

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

--- Comment #1 from Walter Bright <bugzilla@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.

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

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright updated dlang/dmd pull request #14843 "AliasDeclaration semantic" fixing this issue:

- fix Issue 23651 - Order dependency in semantic analysis of template members

https://github.com/dlang/dmd/pull/14843

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

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14843 "fix Issue 23651 - Order dependency in semantic analysis of template members" was merged into master:

- 76a5cc4866d4542f42daae22e4cb1d03f1c659b2 by Walter Bright:
  fix Issue 23651 - Order dependency in semantic analysis of template members

https://github.com/dlang/dmd/pull/14843

--