Bug 18787 – ddoc crashes on static foreach

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2018-04-20T15:00:58Z
Last change time
2018-05-02T21:24:40Z
Assigned to
No Owner
Creator
Paul Backus

Comments

Comment #0 by snarwin+bugzilla — 2018-04-20T15:00:58Z
Attempting to generate documentation for the following code causes dmd to segfault: --- test.d /** * The quick brown fox jumps over the lazy dog */ struct Test(Args...) { static foreach (T; Args) {} } --- $ dmd -D -main test.d Segmentation fault $ dmd --version DMD64 D Compiler v2.079.1
Comment #1 by timon.gehr — 2018-05-02T21:24:40Z
*** This issue has been marked as a duplicate of issue 18211 ***