digitalmars.D.bugs - [Issue 10160] New: No line number "cannot modify struct ... with immutable members"
- d-bugmail puremagic.com (34/34) May 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10160
- d-bugmail puremagic.com (24/24) May 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10160
- d-bugmail puremagic.com (10/10) May 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10160
- d-bugmail puremagic.com (13/13) May 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10160
- d-bugmail puremagic.com (10/10) May 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10160
- d-bugmail puremagic.com (10/10) May 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10160
http://d.puremagic.com/issues/show_bug.cgi?id=10160 Summary: No line number "cannot modify struct ... with immutable members" Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic, rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: k.hara.pg gmail.com This code prints strange no line number error. struct S { this(this) {} } struct X { const int x; S s; } void main() { X x; } output: Error: cannot modify struct this X with immutable members -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10160 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |regression This little modified code works with 2.062, but causes same no line number error with git head. struct S { this(this) {} } struct X { const int x = 1; // add initializer S s; } void main() { X x; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10160 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull https://github.com/D-Programming-Language/dmd/pull/2073 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10160 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/19523d9ad7a7882faa176d958e8d171c7f59a7a6 fix Issue 10160 - No line number "cannot modify struct ... with immutable members" https://github.com/D-Programming-Language/dmd/commit/e4fc4dfd654280b6bfda8f393fe0d940eff38cf6 [REG2.063a] Issue 10160 - No line number "cannot modify struct ... with immutable members" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10160 Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e23c78550c56f43ff49b0a7560a9e636931ec3b5 [REG2.063a] Issue 10160 - No line number "cannot modify struct ... with immutable members" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 24 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10160 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 24 2013