D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20549 - Initialization with a tuple of a module symbol referencing itself could crash dmd
Summary: Initialization with a tuple of a module symbol referencing itself could crash...
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: 2020-01-31 07:28 UTC by Boris Carvajal
Modified: 2020-02-07 04:15 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 Boris Carvajal 2020-01-31 07:28:44 UTC
test case:

module test;
  
alias AliasSeq(T...) = T;

enum a = AliasSeq!test;
Comment 1 Dlang Bot 2020-01-31 07:44:33 UTC
@BorisCarvajal created dlang/dmd pull request #10750 "Fix Issue 20549 - Initialization with a tuple of a module symbol refe…" fixing this issue:

- Fix Issue 20549 - Initialization with a tuple of a module symbol referencing itself could crash dmd

https://github.com/dlang/dmd/pull/10750
Comment 2 Dlang Bot 2020-01-31 10:11:34 UTC
dlang/dmd pull request #10750 "Fix Issue 20549 - Initialization with a tuple of a module symbol refe…" was merged into stable:

- 6f20292b16566431741bfeb9a28272d4fb90cb06 by Boris Carvajal:
  Fix Issue 20549 - Initialization with a tuple of a module symbol referencing itself could crash dmd

https://github.com/dlang/dmd/pull/10750
Comment 3 Dlang Bot 2020-02-07 04:15:20 UTC
dlang/dmd pull request #10753 "Merge remote-tracking branch 'upstream/stable' into merge_stable" was merged into master:

- 7fefd6177772eab19be06ccaad37969ec8636c02 by Boris Carvajal:
  Fix Issue 20549 - Initialization with a tuple of a module symbol refe… (#10750)
  
  Fix Issue 20549 - Initialization with a tuple of a module symbol refe…
  merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>

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