← Back to index
|
Original Bugzilla link
Bug 10389 – Infinite recursion on printing self-referential StructLiteralExp
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-17T00:51:00Z
Last change time
2013-06-17T06:03:14Z
Keywords
ice, pull
Assigned to
nobody
Creator
code
Comments
Comment #0
by code — 2013-06-17T00:51:26Z
The following test case crashes DMD 2.063.2: --- struct Test109S { this(int){ this.s = &this; } Test109S* s; } const t109s = new Test109S(0); pragma(msg, t109s); ---
Comment #1
by github-bugzilla — 2013-06-17T06:02:25Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/cd0d89919ec6af6ebacaa70d3eaca39db580fe14
Issue 10389 - Infinite recursion on printing self-referential StructLiteralExp.
Comment #2
by k.hara.pg — 2013-06-17T06:03:14Z
Merged pull request:
https://github.com/D-Programming-Language/dmd/pull/2183