Comment #2 by moonlightsentinel — 2022-01-17T21:40:00Z
(In reply to moonlightsentinel from comment #1)
> The segfault was introduced by https://github.com/dlang/dmd/pull/12595, but
> the underlying issue is the construction of a `TypeDelegate` from a
> `TypeErrror`
Please ignore this, wrong issue
Comment #3 by dlang-bot — 2022-01-20T10:23:48Z
@FeepingCreature created dlang/dmd pull request #13554 "Fix issue 22685: Symbol nested in both function and module? Not a problem." fixing this issue:
- Fix issue 22685: When finding template argument context for creating a nested instance, ignore symbols in modules.
Symbols in modules can be used regardless of runtime context.
https://github.com/dlang/dmd/pull/13554
Comment #4 by dlang-bot — 2022-01-20T12:02:17Z
dlang/dmd pull request #13554 "Fix issue 22685: Symbol nested in both function and module? Not a problem." was merged into master:
- a40bbcae2168b757b0953f1aa6d95cabf12ee1e6 by Mathis Beer:
Fix issue 22685: When finding template argument context for creating a nested instance, ignore symbols in modules.
Symbols in modules can be used regardless of runtime context.
https://github.com/dlang/dmd/pull/13554