digitalmars.D.bugs - [Issue 13013] New: Failed unittests in std.json - does not parse
- via Digitalmars-d-bugs (28/28) Jun 30 2014 https://issues.dlang.org/show_bug.cgi?id=13013
https://issues.dlang.org/show_bug.cgi?id=13013 Issue ID: 13013 Summary: Failed unittests in std.json - does not parse doubles correctly Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: markisaa umich.edu When compiling with -m64 on Windows, std.json fails to pass unittests regarding parsing doubles from string json format into the JSONValue type. Specifically: core.exception.AssertError jsontest.d(1027): 1.44354e-312 should be 0.23 This does not happen when I leave off -m64. This does not happen when I use -m64 on OSX. I compile with the line: dmd -main -unittest -m64 json.d I downloaded the latest version of std.json to see if this had already been patched; it is still broken. The line number above refers to the version currently on Github. I will likely spend some time investigating this myself, as I must eventually have a solution to this problem. --
Jun 30 2014