http://d.puremagic.com/issues/show_bug.cgi?id=10019
Summary: std.conv numeric parse functions do not work with std.container Array ranges Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: moebiuspers...@gmail.com --- Comment #0 from w0rp <moebiuspers...@gmail.com> 2013-05-02 12:58:04 PDT --- I believe the following ought to work. auto arr = Array!dchar(); arr ~= "123"; assert(parse!int(arr[]) == 123) The problem I believe is caused by the range there being an r-value, which parse does not accept. I have a pull request incoming... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------