← Back to index
|
Original Bugzilla link
Bug 11426 – Reinterpret element-wise array initializing should be rejeted
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-03T01:08:00Z
Last change time
2013-12-02T21:19:58Z
Keywords
accepts-invalid, pull
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2013-11-03T01:08:08Z
This is a regression issue from 2.061. void main() { uint[] udarr; uint[1] usarr; int[1] arr1; arr1 = udarr; // Error, OK int[1] arr2; arr2 = usarr; // Error, OK int[1] arr3 = udarr; // accepted, BAD! int[1] arr4 = usarr; // accepted, BAD! }
Comment #1
by k.hara.pg — 2013-11-03T01:15:46Z
https://github.com/D-Programming-Language/dmd/pull/2712
Comment #2
by github-bugzilla — 2013-11-03T10:53:47Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/0a36934cc7fef35092887747f78ed1d3f599b179
fix Issue 11426 - Reinterpret element-wise array initializing should be rejected
https://github.com/D-Programming-Language/dmd/commit/21a6e3eb242c9823b46a78e5e18a23f7b6064ab1
Merge pull request #2712 from 9rnsr/fix11426 [REG2.061] Issue 11426 - Reinterpret element-wise array initializing should be rejeted
Comment #3
by github-bugzilla — 2013-11-03T10:59:25Z
Commit pushed to 2.064 at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/d6f1a0ea1e13b435dc40ef34fa70c687bf73c7e0
Merge pull request #2712 from 9rnsr/fix11426 [REG2.061] Issue 11426 - Reinterpret element-wise array initializing should be rejeted
Comment #4
by k.hara.pg — 2013-12-02T21:19:58Z
*** Issue 11470 has been marked as a duplicate of this issue. ***