Re: Is this really a bug?

2012-01-07 Thread Daniel
Oh, right, thanks!

Re: Is this really a bug?

2012-01-06 Thread Peter Alexander
On 7/01/12 1:19 AM, Daniel wrote: Hi, I've read on Bugzilla Issue 6398 that this is a bug: static int value; ref foo(){ printf(getter\n); return value; } ref foo(int x){ printf(setter\n); value = x; return value; } void main(){ foo = 1; } // Should print setter, but print getter in 2.054