digitalmars.D.bugs - [Issue 8233] New: std.array.array fails to compile with ranges of immutable elements which have a length property
- d-bugmail puremagic.com (32/32) Jun 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8233
- d-bugmail puremagic.com (6/6) Jun 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8233
- d-bugmail puremagic.com (13/13) Jun 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8233
- d-bugmail puremagic.com (8/8) Jun 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8233
- d-bugmail puremagic.com (9/9) Jun 13 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8233
http://d.puremagic.com/issues/show_bug.cgi?id=8233 Summary: std.array.array fails to compile with ranges of immutable elements which have a length property Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Optlink AssignedTo: nobody puremagic.com ReportedBy: jmdavisProg gmx.com --- Comment #0 from Jonathan M Davis <jmdavisProg gmx.com> 2012-06-13 01:25:48 PDT --- This fails to compile import std.array; void main() { dstring d = "hello world"; auto e = array(d); } giving /home/jmdavis/dmd2/linux/bin/../../src/phobos/std/array.d(55): Error: result[i] isn't mutable q.d(6): Error: template instance std.array.array!(immutable(dchar)[]) error instantiating If you use string rather than dstring, it works just fine. The line that fails to compile in std.array.array is in the hasLength!Range portion, so clearly it's an issue specifically with ranges which have a length property. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8233 --- Comment #1 from Jonathan M Davis <jmdavisProg gmx.com> 2012-06-13 01:50:59 PDT --- https://github.com/D-Programming-Language/phobos/pull/630 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8233 --- Comment #2 from github-bugzilla puremagic.com 2012-06-13 21:16:55 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5c3d2199316ab24c0cb3cffbacb83d41190459e7 Fix for issue# 8233. std.array.array fails to compile with ranges of immutable elements which have a length property https://github.com/D-Programming-Language/phobos/commit/c05e6e4ccea6b4a3a2097abc9d4b5c82e0213c91 Merge pull request #630 from jmdavis/8233 Fix for issue# 8233. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8233 --- Comment #3 from github-bugzilla puremagic.com 2012-06-13 21:20:10 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/63732aed0b968c4639d3304db545ec420e7b97bb Updated changelog for fix to issue# 8233. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8233 Jonathan M Davis <jmdavisProg gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 13 2012