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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Iain Buclaw <[email protected]> 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: -------