[Issue 3449] const and invariant struct members do not behave according to spec

2014-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3449 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 3449] const and invariant struct members do not behave according to spec

2014-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3449 --- Comment #31 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/cc2e825d85b0acab1630f709557cf982c8236a86 fix Issue 3449 - const and

[Issue 3449] const and invariant struct members do not behave according to spec

2014-10-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3449 --- Comment #30 from Kenji Hara k.hara...@gmail.com --- Final removing: https://github.com/D-Programming-Language/dmd/pull/4042 --

[Issue 3449] const and invariant struct members do not behave according to spec

2013-12-27 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3449 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords|patch |pull --- Comment #28

[Issue 3449] const and invariant struct members do not behave according to spec

2013-12-27 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #29 from github-bugzi...@puremagic.com 2013-12-27 09:06:56 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 3449] const and invariant struct members do not behave according to spec

2013-12-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3449 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 3449] const and invariant struct members do not behave according to spec

2013-05-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 3449] const and invariant struct members do not behave according to spec

2013-05-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 3449] const and invariant struct members do not behave according to spec

2013-05-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #24 from github-bugzi...@puremagic.com 2013-05-17 13:07:52 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 3449] const and invariant struct members do not behave according to spec

2013-05-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #25 from github-bugzi...@puremagic.com 2013-05-17 13:09:49 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd

[Issue 3449] const and invariant struct members do not behave according to spec

2013-05-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3449] const and invariant struct members do not behave according to spec

2013-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 3449] const and invariant struct members do not behave according to spec

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #22 from github-bugzi...@puremagic.com 2013-03-10 00:57:23 PST --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 3449] const and invariant struct members do not behave according to spec

2013-03-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Platform|Other |All

[Issue 3449] const and invariant struct members do not behave according to spec

2012-12-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #21 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-12-27 17:23:46 PST --- *** Issue 8193 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 3449] const and invariant struct members do not behave according to spec

2012-12-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #19 from Andrej Mitrovic andrej.mitrov...@gmail.com 2012-12-26 14:27:45 PST --- *** Issue 4203 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email

[Issue 3449] const and invariant struct members do not behave according to spec

2012-12-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 3449] const and invariant struct members do not behave according to spec

2012-11-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #18 from github-bugzi...@puremagic.com 2012-11-22 03:30:39 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 3449] const and invariant struct members do not behave according to spec

2012-07-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #17 from Stewart Gordon s...@iname.com 2012-07-26 06:14:15 PDT --- (In reply to comment #16) How would the programmer suppress this warning because it's deliberate? When I wrote that, I was thinking that the developer can

[Issue 3449] const and invariant struct members do not behave according to spec

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 David Piepgrass qwertie...@gmail.com changed: What|Removed |Added CC|

[Issue 3449] const and invariant struct members do not behave according to spec

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #15 from Stewart Gordon s...@iname.com 2012-07-25 14:55:34 PDT --- (In reply to comment #14) +1 from me. Implicit static and (worse) implicit enum are bad ideas, and the worst part is that whether it's static or not depends on

[Issue 3449] const and invariant struct members do not behave according to spec

2012-07-25 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #16 from David Piepgrass qwertie...@gmail.com 2012-07-25 18:55:01 PDT --- How would the programmer suppress this warning because it's deliberate? When I wrote that, I was thinking that the developer can initialize in the

[Issue 3449] const and invariant struct members do not behave according to spec

2012-05-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Masahiro Nakagawa repeate...@gmail.com changed: What|Removed |Added CC|

[Issue 3449] const and invariant struct members do not behave according to spec

2012-01-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #9 from Walter Bright bugzi...@digitalmars.com 2012-01-23 01:37:27 PST --- (In reply to comment #4) More strangeness: If you don't explicitly provide an initial value for const/immutable members, they do contribute to the size

[Issue 3449] const and invariant struct members do not behave according to spec

2012-01-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Keywords|spec| --- Comment

[Issue 3449] const and invariant struct members do not behave according to spec

2012-01-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #11 from Kenji Hara k.hara...@gmail.com 2012-01-23 04:28:52 PST --- (In reply to comment #9) This is as designed. A const field without an initializer can be initialized by a constructor. A const field with an initializer does

[Issue 3449] const and invariant struct members do not behave according to spec

2012-01-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #12 from Stewart Gordon s...@iname.com 2012-01-23 05:16:02 PST --- (In reply to comment #11) I think that the *implicit static* variable is the worst specification in D. 'const/immutable(not modifiable)' and 'static(not

[Issue 3449] const and invariant struct members do not behave according to spec

2011-11-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 3449] const and invariant struct members do not behave according to spec

2011-11-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #8 from Stewart Gordon s...@iname.com 2011-11-24 04:14:00 PST --- (In reply to comment #7) I believe the correct solution is to make const/immutable fields with initializers into static members. Changing this would alter the

[Issue 3449] const and invariant struct members do not behave according to spec

2011-06-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 yebblies yebbl...@gmail.com changed: What|Removed |Added Keywords||patch CC|

[Issue 3449] const and invariant struct members do not behave according to spec

2010-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---

[Issue 3449] const and invariant struct members do not behave according to spec

2009-10-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #2 from Lars T. Kyllingstad bugzi...@kyllingen.net 2009-10-29 23:35:28 PDT --- (In reply to comment #1) (In reply to comment #0) and in the case of const it is even considered well-defined behaviour to change their value

[Issue 3449] const and invariant struct members do not behave according to spec

2009-10-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3449 --- Comment #3 from Stewart Gordon s...@iname.com 2009-10-30 06:39:03 PDT --- (In reply to comment #2) (In reply to comment #1) (In reply to comment #0) and in the case of const it is even considered well-defined behaviour to change their