digitalmars.D.bugs - [Issue 8390] New: Refused array operation mutable[] += const[]
- d-bugmail puremagic.com (25/25) Jul 15 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8390
- d-bugmail puremagic.com (8/8) Jul 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8390
- d-bugmail puremagic.com (10/10) Jul 23 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8390
http://d.puremagic.com/issues/show_bug.cgi?id=8390 Summary: Refused array operation mutable[] += const[] Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc See Issue 4662 for some context. void main() { const int[] a = new int[5]; int[] b = new int[5]; b[] += a[]; } Gives, DMD 2.060alpha: test.d(4): Error: slice cast(const(int)[])b[] is not mutable -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 15 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8390 Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2bfc8404b741c3ee1b0a20425880ce73de103983 fix Issue 8390 - Refused array operation mutable[] += const[] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 23 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8390 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: -------
Jul 23 2012