← Back to index
|
Original Bugzilla link
Bug 12580 – [REG2.066a] dup() won't accept void[]
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-04-15T04:51:00Z
Last change time
2014-04-17T19:22:41Z
Assigned to
nobody
Creator
jiki
Comments
Comment #0
by jiki — 2014-04-15T04:51:29Z
Today I have just updated DMD from git-head. So it won't compile the following code. void main() { void[] v = [0]; auto v2 = v.dup; } This should be caused by the recent compiler change.
Comment #1
by dlang-bugzilla — 2014-04-15T11:15:25Z
Introduced in
https://github.com/D-Programming-Language/dmd/pull/3451
Comment #2
by bugzilla — 2014-04-15T19:09:02Z
It's not a problem with the compiler, it's a problem with the dup() template in object.di.
Comment #3
by bugzilla — 2014-04-15T19:10:49Z
Bug introduced by
https://github.com/D-Programming-Language/druntime/pull/760
Comment #4
by github-bugzilla — 2014-04-17T19:22:41Z
Commits pushed to master at
https://github.com/D-Programming-Language/druntime
https://github.com/D-Programming-Language/druntime/commit/363228b16c2273ebe00d417fb0dfe037bb6ca109
fix Issue 12580 - dup() won't accept void[]
https://github.com/D-Programming-Language/druntime/commit/1bd25dfe2d34a2af4a5b181326d95f4bc3b184ca
Merge pull request #766 from MartinNowak/fix12580 fix Issue 12580 - dup() won't accept void[]