[Issue 10841] New: std.conv.parse failed when parsing a slice string

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 17 18:14:56 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10841

           Summary: std.conv.parse failed when parsing a slice string
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: bitworld at qq.com


--- Comment #0 from Heromyth <bitworld at qq.com> 2013-08-17 18:14:55 PDT ---
The test code is here:
//=============
string s1 = "11AB";
auto r = parse!int(s1[0..2], 16);
//=============

It worked with DMD 2.062, but failed with DMD 2.063.2.

-- 
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