[Issue 6174] Initialize const fixed-size array in constructor

2020-09-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6174 Mathias LANG changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Issue 6174] Initialize const fixed-size array in constructor

2014-03-06 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6174 Leandro Lucarella changed: What|Removed |Added Keywords||industry Status|RESOLV

[Issue 6174] Initialize const fixed-size array in constructor

2013-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 --- Comment #11 from github-bugzi...@puremagic.com 2013-01-31 01:47:44 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/aa33955a6ed38ab64df903b2298988f9cde4291

[Issue 6174] Initialize const fixed-size array in constructor

2012-10-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 --- Comment #10 from bearophile_h...@eml.cc 2012-10-08 10:22:27 PDT --- (In reply to comment #9) > Please put in a new report. OK, Issue 8783 Thank you. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- Yo

[Issue 6174] Initialize const fixed-size array in constructor

2012-10-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 --- Comment #9 from Kenji Hara 2012-10-08 05:35:43 PDT --- (In reply to comment #8) > Is this expected? Do you want me to put this in a new bug report? > > struct Foo { > int[1] bar; > } > const Foo[1] foos; > static this() { > foreach

[Issue 6174] Initialize const fixed-size array in constructor

2012-10-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 --- Comment #8 from bearophile_h...@eml.cc 2012-10-07 13:12:27 PDT --- Is this expected? Do you want me to put this in a new bug report? struct Foo { int[1] bar; } const Foo[1] foos; static this() { foreach (i; 0 .. foos.length)

[Issue 6174] Initialize const fixed-size array in constructor

2012-10-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 --- Comment #7 from bearophile_h...@eml.cc 2012-10-07 13:01:14 PDT --- This is an improvement of D. std.algorithm.copy can't be used to initialize const array fields, but this is not important: import std.algorithm: copy; class Foo { con

[Issue 6174] Initialize const fixed-size array in constructor

2012-10-07 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 yebblies changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6174] Initialize const fixed-size array in constructor

2012-04-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Com

[Issue 6174] Initialize const fixed-size array in constructor

2011-11-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 --- Comment #4 from Kenji Hara 2011-11-12 06:56:29 PST --- *** Issue 6924 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail beca

[Issue 6174] Initialize const fixed-size array in constructor

2011-11-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 --- Comment #3 from bearophile_h...@eml.cc 2011-11-09 19:29:02 PST --- See also a comment by Kenji Hara: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=148428 > Inside constructor, compiler can detect that

[Issue 6174] Initialize const fixed-size array in constructor

2011-08-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6174 Trass3r changed: What|Removed |Added Keywords||rejects-valid CC|