Bug 11496 – Code fragment makes dmd crash instead of printing error message.

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2013-11-11T11:15:00Z
Last change time
2013-11-11T14:44:25Z
Assigned to
nobody
Creator
maidenphil

Comments

Comment #0 by maidenphil — 2013-11-11T11:15:07Z
version 2.063.2 I was playing around and found that the this pointer in the following declaration: struct Outer { size_t _outerField; struct Inner { size_t _innerField = this._outerField; } } Makes dmd crash instead of printing an error message. Cheers! Phil
Comment #1 by andrej.mitrovich — 2013-11-11T13:09:53Z
This was fixed in 2.064.
Comment #2 by maidenphil — 2013-11-11T14:44:25Z
Coolio (In reply to comment #1) > This was fixed in 2.064.