Bug 12776 – Wrong type for __vector(int[4]).init

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2014-05-20T17:58:00Z
Last change time
2015-02-18T03:41:25Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
turkeyman
Blocks
13418

Comments

Comment #0 by turkeyman — 2014-05-20T17:58:44Z
alias __vector(int[4]) T; typeof(T.init) == int[4]. This seems wrong, it should surely be T, ie, __vector(int[4])?
Comment #1 by john.loughran.colvin — 2014-12-17T22:28:02Z
Comment #2 by k.hara.pg — 2014-12-18T15:55:44Z
Comment #3 by github-bugzilla — 2014-12-20T21:20:16Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e1b3b2b6f117376bb746d39455e206168324c390 fix Issue 12776 - Wrong type for __vector(int[4]).init https://github.com/D-Programming-Language/dmd/commit/e11f409eaaace2b443a87e956788865077d03cd0 Merge pull request #4217 from 9rnsr/fix12776 Issue 12776 - Wrong type for __vector(int[4]).init
Comment #4 by github-bugzilla — 2015-02-18T03:41:25Z