[Issue 10776] New: std.json parseJSON has a bug.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Aug 8 06:03:14 PDT 2013
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: nobody at puremagic.com
ReportedBy: khurshid.normuradov at gmail.com
--- Comment #0 from khurshid <khurshid.normuradov at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list