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