D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23223 - Aliases to modules print the modules contents into ast dump
Summary: Aliases to modules print the modules contents into ast dump
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-06-29 13:15 UTC by mhh
Modified: 2022-06-29 22:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mhh 2022-06-29 13:15:41 UTC
```
static import std.stdio;
alias f = std.stdio;
```
yields
2000 lines of ast dump.
Comment 1 Dlang Bot 2022-06-29 13:49:28 UTC
@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 Dlang Bot 2022-06-29 22:34:29 UTC
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