On 02/01/2012 07:15 AM, Simen Kjærås wrote:
On Wed, 01 Feb 2012 01:14:38 +0100, Nicolas Silva
<nical.si...@gmail.com> wrote:

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).

I can confirm that this doesn't work under 2.057 but works on the newer
version I checked out a couple of days ago. Both -m32 and -m64.

Of course it doesn't work with the -property flag which requires
() for methods.

Short version: Don't file a bug.

Reply via email to