[Issue 5349] New: ICE(toir.c): Internal error: toir.c 190

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 14 04:19:04 PST 2010


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

           Summary: ICE(toir.c): Internal error: toir.c 190
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-12-14 04:17:17 PST ---
>From fail_compilation/fail224.d

int gi;

class A
{
    int x = 42;

    void am()
    {
        static void f()
        {
            class B
            {
                void bm()
                {
                    gi = x;
                }
            }

            (new B).bm();
        }

        f();
    }
}

void main()
{
    (new A).am();
}


Fails with an internal error message. Rather than something meaningful.

Regards

-- 
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