Oh, my bad, sorry, when I tried the code i showed in the other mail, I had forgotten the parenthesis on the call to refA() (like if it was an attribute).Once fixed it works for me. f1.refA() = 24; //ok f1.refA = 24; //not ok, my mistake
Still, this should work, and it does under DMD trunk. Can confirm that this is a bug under 2.057 and earlier (at least 2.056 :p).
