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
Comment #2 by clugdbug — 2011-02-06T13:38:06Z