Compile failing with D 2.068.2 works with 2.068.1

Meta via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 2 09:10:12 PDT 2015


On Friday, 2 October 2015 at 15:04:37 UTC, Meta wrote:
> On Thursday, 1 October 2015 at 23:01:59 UTC, Zz wrote:>
>> I traced it to when JSONValue get is being used.
>>
>> {
>>   import stdx.data.json;
>>
>>   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]);
>> }
>>
>> Zz
>
> I just tried it with 2.068.2 on my system and get the same 
> error. This definitely shouldn't be occurring and is a 
> regression from 2.068.1.

https://issues.dlang.org/show_bug.cgi?id=15138


More information about the Digitalmars-d mailing list