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

           Summary: Assertion in shift right operations.
           Product: D
           Version: D1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: ibuc...@ubuntu.com


--- Comment #0 from Iain Buclaw <ibuc...@ubuntu.com> 2010-09-03 02:19:14 PDT ---
Both examples:

int main()
{
    return cast(int)(.0>>0);
}


int main()
{
    return cast(int)(.0>>>0);
}


result in an ICE in the compiler. Whereas


int main()
{
    return cast(int)(.0<<0);
}

is handled perfectly fine.

As this is not supposed to be compilable, I assume that the error type isn't
being handled as it should be.

Regards

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

Reply via email to