[Issue 11527] New: JSONValue cannot set values through named fields

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 16 02:31:47 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11527

           Summary: JSONValue cannot set values through named fields
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-11-16 02:31:46 PST ---
Following test cases will throw JSONException in runtime:

import std.json;
void main()
{
    JSONValue v;
    v.integer = 1;
}

Output:

std.json.JSONException at std\json.d(91): JSONValue is not an integer

This is caused by:
https://github.com/D-Programming-Language/phobos/pull/1421

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


More information about the Digitalmars-d-bugs mailing list