← Back to index
|
Original Bugzilla link
Bug 8979 – Can't initialize multidimensional static array with its element
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-11-08T06:48:04Z
Last change time
2024-12-13T18:02:28Z
Keywords
rejects-valid
Assigned to
No Owner
Creator
Denis Shelomovskii
Moved to GitHub: dmd#17562 →
Comments
Comment #0
by verylonglogin.reg — 2012-11-08T06:48:04Z
--- int[1][1] sarr = 2; // fails struct S { int[1][1] sarr = 2; // fails } void main() { int[1][1] sarr = 2; // ok S s1 = { 2 }; // fails S s2 = { sarr: 2 }; // fails S s3 = S(2); // ok } ---
Comment #1
by b2.temp — 2019-07-23T00:58:06Z
*** Issue 11083 has been marked as a duplicate of this issue. ***
Comment #2
by robert.schadek — 2024-12-13T18:02:28Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/17562
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB