← Back to index
|
Original Bugzilla link
Bug 5391 – Crash with recursive alias declaration
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2010-12-30T04:44:00Z
Last change time
2011-02-06T13:38:06Z
Keywords
ice-on-invalid-code, patch
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2010-12-30T04:44:25Z
A D2 program: alias Foo Foo; alias Foo Bar; void main() {} DMD 2.051 shows this and then crashes: test.d(1): Error: alias test3.Foo recursive alias declaration
Comment #1
by clugdbug — 2011-02-03T00:24:42Z
PATCH:
https://github.com/donc/dmd/commit/005636b84c11411f774d28c364b19656d67ad86f
Also merged to D1.
Comment #2
by clugdbug — 2011-02-06T13:38:06Z
Fixed
https://github.com/D-Programming-Language/dmd/commit/005636b84c11411f774d28c364b19656d67ad86f