http://d.puremagic.com/issues/show_bug.cgi?id=11344



--- Comment #1 from [email protected] 2013-10-24 13:42:23 PDT ---
I reduced it.

This code fails in dmd 2.063.2 and dmd 2.064 beta:
----
import std.stdio;

struct vec2f {
public:
    float[2] values;

    alias values this;
}

void main() {
    vec2f v;
    destroy(v);
}
----

But this fails only with 2.064 beta:
----
import std.stdio;

struct vec2f {
public:
    float[2] values;

    alias values this;
}

void main() {
    vec2f v;
    destroy!vec2f(v);
}
----

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to