------- Comment #1 from  2009-03-01 20:59 
You can't use opAssign for initialisation; you have to use opCall. 

Bar bar = foo;

is rewritten as:

Bar bar = Bar(foo);

which is further rewritten as:

Bar bar = Bar.opCall(foo);

I'm not sure if this is documented explicitly anywhere; I just remember this
from when it was implemented.


Reply via email to