yebblies <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from yebblies <> 2012-02-01 22:58:33 EST ---
Ok, the first test case reduces to this:

struct V{
    union {
        double[2] cell;
        double x;

    static immutable V zero=V(0,1);

The problem being that the struct literal gets turned into:
  this(a, b) { cell = 0; x = 1; }
ie. it passes the first argument to the first member, and the second argument
to the second.

This is sort of what I'd expect to happen, but the error message is completely
valid for what it's trying to do.  If anyone has a better idea of how struct
literals should map to unions, please open another bug report about it.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to