[Issue 8705] New: std.conv.to bug, from documentation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Sep 21 11:46:30 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8705
Summary: std.conv.to bug, from documentation
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: monarchdodra at gmail.com
--- Comment #0 from monarchdodra at gmail.com 2012-09-21 11:47:23 PDT ---
The example in conv's documentation does not compile.
Arguably, it should.
As discussed in this pull request:
https://github.com/D-Programming-Language/phobos/pull/811
----
int[string][double[int[]]] a;
auto b = to!(short[wstring][string[double[]]])(a);
----
src\phobos\std\conv.d(1383): Error: result[to(k1)] isn't mutable
----
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list