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

           Summary: std.json  parseJSON has a bug.
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from khurshid <[email protected]> 2013-08-08 
06:03:13 PDT ---
I think that, this code must be throw, but it's success run.

import std.json;
import std.stdio : writeln;

void main()
{
 ////////////////////////// leading spaces doesn't skip between 1 and E.
   auto json = parseJSON(`{ "throwable_one" : 1             .E    +1 }`);


   writeln( toJSON(&json) );
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to