Thread overview
[Issue 21295] [REG] Symbol lookup/resolve in compilation broken in D
Oct 06, 2020
Iain Buclaw
[Issue 21295] [REG 2.095] Symbol lookup/resolve in compilation broken in D
Oct 06, 2020
Iain Buclaw
Oct 06, 2020
Iain Buclaw
Oct 07, 2020
Iain Buclaw
Oct 07, 2020
Dlang Bot
Oct 07, 2020
Dlang Bot
Oct 07, 2020
Dlang Bot
Oct 11, 2020
Dlang Bot
Oct 11, 2020
Iain Buclaw
October 06, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
First commit that exposed the separate compilation error was https://github.com/dlang/dmd/pull/11743

--
October 06, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[REG] Symbol lookup/resolve |[REG 2.095] Symbol
                   |in compilation broken in D  |lookup/resolve in
                   |                            |compilation broken in D

--
October 06, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[REG 2.095] Symbol          |[REG] Symbol lookup/resolve
                   |lookup/resolve in           |in compilation broken in D
                   |compilation broken in D     |

--
October 07, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

--- Comment #2 from Iain Buclaw <ibuclaw@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 { }

--
October 07, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #11829 "Issue 21295: Add test for symbol lookup/resolve in compilation broken" mentioning this issue:

- Issue 21295: Add test for symbol lookup/resolve in compilation broken

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

--
October 07, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11829 "Issue 21295: Add test for symbol lookup/resolve in compilation broken" was merged into master:

- 0a33e7cb331719919ad49ba6c8c234ffbceef9b5 by Iain Buclaw:
  Issue 21295: Add test for symbol lookup/resolve in compilation broken

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

--
October 07, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #11831 "[dmd-cxx] fix Issue 21295: Add test for symbol lookup/resolve in compilation broken" mentioning this issue:

- [dmd-cxx] fix Issue 21295: Add test for symbol lookup/resolve in compilation broken

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

--
October 11, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11831 "[dmd-cxx] fix Issue 21295: Add test for symbol lookup/resolve in compilation broken" was merged into dmd-cxx:

- fa1aaa4e3aba806cecd68c70f3def12f50f472fb by Iain Buclaw:
  [dmd-cxx] fix Issue 21295: Add test for symbol lookup/resolve in compilation
broken

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

--
October 11, 2020
https://issues.dlang.org/show_bug.cgi?id=21295

Iain Buclaw <ibuclaw@gdcproject.org> changed:

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

--