digitalmars.D.bugs - [Issue 8770] New: Wrong error line number with immutable field
- d-bugmail puremagic.com (28/28) Oct 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8770
- d-bugmail puremagic.com (11/11) Oct 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8770
- d-bugmail puremagic.com (10/10) Oct 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8770
http://d.puremagic.com/issues/show_bug.cgi?id=8770 Summary: Wrong error line number with immutable field Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2012-10-06 13:48:00 PDT --- struct Foo { immutable int bar = 1; // line 2 this(int x) { this.bar = x; } } void main() {} Expected error: temp.d(4): Error: this.bar is not mutable But DMD 2.061alpha gives: temp.d(2): Error: this.bar is not mutable -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 06 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8770 --- Comment #1 from github-bugzilla puremagic.com 2012-10-20 15:10:32 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5db8f5fefd836291c21604b270b4893c44d4ce1f Fixes Issue 8770 https://github.com/D-Programming-Language/dmd/commit/30a63578f8146cb5354994ac0b93a0c1f0123fac Merge pull request #1195 from AndrejMitrovic/Fix8770 Fix Issue 8770 - Wrong error line number with immutable field -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8770 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: -------
Oct 20 2012