← Back to index
|
Original Bugzilla link
Bug 9910 – Scalar op vector is broken.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-04-09T03:10:00Z
Last change time
2016-09-12T08:49:29Z
Assigned to
nobody
Creator
ibuclaw
Comments
Comment #0
by ibuclaw — 2013-04-09T03:10:57Z
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.
Comment #1
by ibuclaw — 2013-04-09T03:25:59Z
https://github.com/D-Programming-Language/dmd/pull/1879
Comment #2
by ibuclaw — 2013-04-09T08:24:04Z
Pull merged:
https://github.com/D-Programming-Language/dmd/commit/f6d55a9175278b2c950ceab06bc2f48d7ede3766
https://github.com/D-Programming-Language/dmd/commit/0fa0d6d45db8a538e2bdf68653000b543def3f86
Comment #3
by ilyayaroshenko — 2016-09-12T08:49:29Z
Relevant issue
https://issues.dlang.org/show_bug.cgi?id=16488