Thread overview |
---|
October 01, 2015 Compile failing with D 2.068.2 works with 2.068.1 | ||||
---|---|---|---|---|
| ||||
Hi, When using D 2.068.2 I get the following error with some code I have. Assertion failure: 'minst->isRoot() || minst->rootImports()' on line 8013 in file 'template.c' dmd failed with exit code 1. It work with 2.068.1. No idea why it fails, moved back to 2.068.1. Regards, Zz |
October 01, 2015 Re: Compile failing with D 2.068.2 works with 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zz | On Thursday, 1 October 2015 at 16:37:25 UTC, Zz wrote: > Hi, > > When using D 2.068.2 I get the following error with some code I have. > > Assertion failure: 'minst->isRoot() || minst->rootImports()' on line 8013 in file 'template.c' > dmd failed with exit code 1. > > It work with 2.068.1. > > No idea why it fails, moved back to 2.068.1. > > Regards, > Zz https://issues.dlang.org/ please. |
October 01, 2015 Re: Compile failing with D 2.068.2 works with 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zz | On Thursday, 1 October 2015 at 16:37:25 UTC, Zz wrote:
> Hi,
>
> When using D 2.068.2 I get the following error with some code I have.
>
> Assertion failure: 'minst->isRoot() || minst->rootImports()' on line 8013 in file 'template.c'
> dmd failed with exit code 1.
>
> It work with 2.068.1.
>
> No idea why it fails, moved back to 2.068.1.
>
> Regards,
> Zz
Can you post the code that causes the error?
|
October 01, 2015 Re: Compile failing with D 2.068.2 works with 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | On Thursday, 1 October 2015 at 17:16:47 UTC, Meta wrote:
> On Thursday, 1 October 2015 at 16:37:25 UTC, Zz wrote:
>> Hi,
>>
>> When using D 2.068.2 I get the following error with some code I have.
>>
>> Assertion failure: 'minst->isRoot() || minst->rootImports()' on line 8013 in file 'template.c'
>> dmd failed with exit code 1.
>>
>> It work with 2.068.1.
>>
>> No idea why it fails, moved back to 2.068.1.
>>
>> Regards,
>> Zz
>
> Can you post the code that causes the error?
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
|
October 02, 2015 Re: Compile failing with D 2.068.2 works with 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zz | On Thursday, 1 October 2015 at 23:01:59 UTC, Zz wrote:
>>
>> Can you post the code that causes the error?
>
> 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
Please enter a bugzilla issue, else it will be forgotten.
|
October 02, 2015 Re: Compile failing with D 2.068.2 works with 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Zz | 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.
|
October 02, 2015 Re: Compile failing with D 2.068.2 works with 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Meta | 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 |
Copyright © 1999-2021 by the D Language Foundation