[Issue 5391] New: Crash with recursive alias declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 30 04:46:33 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5391

           Summary: Crash with recursive alias declaration
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2010-12-30 04:44:25 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list