On 2011-03-06 14:58:10 +0100, Magnus Lie Hetland said:

[corrected the example below, replacing int with string]
that works just fine. However, if I try

    alias Tuple!(real,string) Entry;
    Array!Entry Q;

then I get the following errors:

container.d(1549): Error: this for _data needs to be type Array not type Payload container.d(1550): Error: this for _data needs to be type Array not type Payload container.d(1551): Error: this for _data needs to be type Array not type Payload

Actually, now, running the same program, I get a *different* error message:

container.d(1502): Error: template instance template 'hasElaborateDestructor' is not defined container.d(1502): Error: hasElaborateDestructor!(Tuple!(real,string)) is not an expression

As far as I know, I haven't changed anything in the ecosystem, and the code is the same (which seems a bit magical...).

Anyway: this doesn't seem right ... should I file a bug?

--
Magnus Lie Hetland
http://hetland.org

Reply via email to