← Back to index
|
Original Bugzilla link
Bug 6886 – [CTFE] ICE(interpret.c) new array with initializer
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-11-03T02:00:00Z
Last change time
2015-06-09T05:11:48Z
Assigned to
nobody
Creator
clugdbug
Comments
Comment #0
by clugdbug — 2011-11-03T02:00:26Z
int bug6886() { auto carray = new([1,2]) double[][2]; return 1; } static assert(bug6886()); ----- assert interpret.c(2240) argnum < arguments->dim - 1
Comment #1
by bugzilla — 2011-11-03T16:02:00Z
https://github.com/D-Programming-Language/dmd/commit/eec4830dff9fa5653fb5e261660ea5596269085a
https://github.com/D-Programming-Language/dmd/commit/31bbbb39b3f82624ee718a5c64d5f83f8ba3383b