Re: override '.' member access

2011-01-26 Thread spir
On 01/26/2011 01:06 AM, Simen kjaeraas wrote: spir wrote: On 01/25/2011 10:29 PM, Simen kjaeraas wrote: spir wrote: Hello, Cannot find corresponding opSomething method, if any. (opDispatch seems to specialise for method call.) Else, how to catch obj.member? opDispatch is likely what you

Re: override '.' member access

2011-01-26 Thread spir
On 01/26/2011 12:05 AM, spir wrote: On 01/25/2011 10:29 PM, Simen kjaeraas wrote: spir wrote: Hello, Cannot find corresponding opSomething method, if any. (opDispatch seems to specialise for method call.) Else, how to catch obj.member? opDispatch is likely what you want. with the @property

Re: override '.' member access

2011-01-25 Thread Simen kjaeraas
spir wrote: On 01/25/2011 10:29 PM, Simen kjaeraas wrote: spir wrote: Hello, Cannot find corresponding opSomething method, if any. (opDispatch seems to specialise for method call.) Else, how to catch obj.member? opDispatch is likely what you want. with the @property annotation, it wil

Re: override '.' member access

2011-01-25 Thread spir
On 01/25/2011 08:44 PM, Jonathan M Davis wrote: On Tuesday, January 25, 2011 11:33:24 spir wrote: Hello, Cannot find corresponding opSomething method, if any. (opDispatch seems to specialise for method call.) Else, how to catch obj.member? [...] You can overload a number of operators, but not

Re: override '.' member access

2011-01-25 Thread spir
On 01/25/2011 10:29 PM, Simen kjaeraas wrote: spir wrote: Hello, Cannot find corresponding opSomething method, if any. (opDispatch seems to specialise for method call.) Else, how to catch obj.member? opDispatch is likely what you want. with the @property annotation, it will readily support

Re: override '.' member access

2011-01-25 Thread Simen kjaeraas
spir wrote: Hello, Cannot find corresponding opSomething method, if any. (opDispatch seems to specialise for method call.) Else, how to catch obj.member? opDispatch is likely what you want. with the @property annotation, it will readily support obj.member; and obj.member = foo; syntax. -

Re: override '.' member access

2011-01-25 Thread Jonathan M Davis
On Tuesday, January 25, 2011 11:33:24 spir wrote: > Hello, > > Cannot find corresponding opSomething method, if any. (opDispatch seems to > specialise for method call.) > Else, how to catch obj.member? You're trying to override a member variable? Or are you trying to override the dot operator? Y

override '.' member access

2011-01-25 Thread spir
Hello, Cannot find corresponding opSomething method, if any. (opDispatch seems to specialise for method call.) Else, how to catch obj.member? Denis -- _ vita es estrany spir.wikidot.com