Bug 19627 – [CTFE][SIMD] Error: cannot cast `int` to `int[4]`

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-01-28T23:26:45Z
Last change time
2019-03-12T19:52:29Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2019-01-28T23:26:45Z
enum int[4] E7 = cast(int[4])int4(0);
Comment #1 by dlang-bot — 2019-03-10T13:32:18Z
@ibuclaw created dlang/dmd pull request #9438 "[dmd-cxx] Backport vector array fixes from master" fixing this issue: - fix Issue 19627 - Error: cannot cast 'int' to 'int[4]' https://github.com/dlang/dmd/pull/9438
Comment #2 by dlang-bot — 2019-03-12T19:52:29Z
dlang/dmd pull request #9438 "[dmd-cxx] Backport vector array fixes from master" was merged into dmd-cxx: - f38b467255228ca56783120f1fec2440d2eb1e6c by Iain Buclaw: fix Issue 19627 - Error: cannot cast 'int' to 'int[4]' https://github.com/dlang/dmd/pull/9438