Bug 23223 – Aliases to modules print the modules contents into ast dump

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-06-29T13:15:41Z
Last change time
2022-06-29T22:34:29Z
Keywords
pull
Assigned to
No Owner
Creator
mhh

Comments

Comment #0 by maxhaton — 2022-06-29T13:15:41Z
``` static import std.stdio; alias f = std.stdio; ``` yields 2000 lines of ast dump.
Comment #1 by dlang-bot — 2022-06-29T13:49:28Z
@maxhaton created dlang/dmd pull request #14256 "Fix Issues 23223, 23222 - Special case modules when printing symbols …" fixing this issue: - Fix Issues 23223, 23222 - Special case modules when printing symbols that aliases point to. https://github.com/dlang/dmd/pull/14256
Comment #2 by dlang-bot — 2022-06-29T22:34:29Z
dlang/dmd pull request #14256 "Fix Issues 23223, 23222 - Special case modules when printing symbols …" was merged into master: - 3804b272296c00dece021835708cfbe5c8337220 by mhh: Fix Issues 23223, 23222 - Special case modules when printing symbols that aliases point to. https://github.com/dlang/dmd/pull/14256