digitalmars.D.bugs - [Issue 15138] New: ICE with basic use of stdx.data.json
- via Digitalmars-d-bugs (28/28) Oct 02 2015 https://issues.dlang.org/show_bug.cgi?id=15138
https://issues.dlang.org/show_bug.cgi?id=15138 Issue ID: 15138 Summary: ICE with basic use of stdx.data.json Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: monkeyworks12 hotmail.com The following code: import stdx.data.json; void main() { string str = `{"a": true, "b": "test"}`; auto v = parseJSONValue(str); // The following line causes the problem in 2.068.2 auto obj = v.get!(JSONValue[string]); } Fails to compile with the following error: Assertion failure: 'minst->isRoot() || minst->rootImports()' on line 8013 in file 'template.c' stdx.data.json can be found here: https://github.com/s-ludwig/std_data_json --
Oct 02 2015