March 17, 2013 template instance is nested in both A and B | ||||
---|---|---|---|---|
| ||||
Anyone have any idea what this means? Error: template instance TupleWrapper!(i, i) TupleWrapper!(i, i) is nested in both S and D I don't have a minimal testcase, but I can try to create one if it's difficult to see otherwise. |
March 18, 2013 Re: template instance is nested in both A and B | ||||
---|---|---|---|---|
| ||||
Posted in reply to simendsjo | On Sunday, 17 March 2013 at 21:22:44 UTC, simendsjo wrote:
> Anyone have any idea what this means?
>
> Error: template instance TupleWrapper!(i, i) TupleWrapper!(i, i) is nested in both S and D
>
> I don't have a minimal testcase, but I can try to create one if it's difficult to see otherwise.
This means that template instance touches more than one context and since D implementation currently allows to have one single context pointer, the code is rejected. There is issue in bugzilla, and it is not fixed.
|
Copyright © 1999-2021 by the D Language Foundation