Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
May 24, 2013 [Issue 10160] New: No line number "cannot modify struct ... with immutable members" | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-24 01:07:53 PDT --- 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 [Issue 10160] No line number "cannot modify struct ... with immutable members" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10160 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |regression --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-24 01:09:30 PDT --- 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 [Issue 10160] No line number "cannot modify struct ... with immutable members" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10160 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-24 01:42:40 PDT --- 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 [Issue 10160] No line number "cannot modify struct ... with immutable members" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10160 --- Comment #3 from github-bugzilla@puremagic.com 2013-05-24 12:43:41 PDT --- 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 Merge pull request #2073 from 9rnsr/fix10160 [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 [Issue 10160] No line number "cannot modify struct ... with immutable members" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=10160 --- Comment #4 from github-bugzilla@puremagic.com 2013-05-24 12:44:46 PDT --- Commit pushed to 2.063 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e23c78550c56f43ff49b0a7560a9e636931ec3b5 Merge pull request #2073 from 9rnsr/fix10160 [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 [Issue 10160] No line number "cannot modify struct ... with immutable members" | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | 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: ------- |
Copyright © 1999-2021 by the D Language Foundation