Re: Problem with passing ref parameters to properties

2012-05-10 Thread SebastianA
I had not tested the code with DMD. We need x64 support, so we need GDC for that at the moment. However, I tried compiling with DMD and it seems that the line t.vPosition = (Clock.currStdTime % 2 == 0) ? Vec(2, 2) : Vec(3, 3); does not compile with the latest DMD compiler. I get the error:

Problem with passing ref parameters to properties

2012-05-10 Thread SebastianA
We are seeing a problem with passing ref parameters to properties. This bug only occurs in certain situations. Consider the following code: void runTest() { Thing t; t.vPosition = (Clock.currStdTime % 2 == 0) ? Vec(2, 2) : Vec(3, 3); Vec v = t.vPosition; outputD