[Issue 11484] New: [e2ir] Error in e2ir at static array to numeric cast

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 9 10:36:17 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11484

           Summary: [e2ir] Error in e2ir at static array to numeric cast
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: verylonglogin.reg at gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-11-09 21:36:16 MSK ---
---
void main()
{
    float[1] f1;
    auto i = cast(int) f1;
}
---
main.d(4): Error: e2ir: cannot cast f1 of type float[1] to type int
---

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


More information about the Digitalmars-d-bugs mailing list