[Issue 9910] New: Scalar op vector is broken.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 9 03:10:58 PDT 2013


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

           Summary: Scalar op vector is broken.
           Product: D
           Version: 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> 2013-04-09 03:10:57 PDT ---
Minimal test:

---
import core.simd;

void main()
{
  float4 a = [1,1,1,1];
  auto works = a + 3;
  auto bug = 3 + a;
}
---

Causes problems in GDC because 'bug' is inferred as an 'int' type.

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