View · Search · Index
No registered users in community xowiki
in last 10 minutes

Re: [Xotcl] [self class] inside [eval]

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Tue, 14 Sep 2004 16:14:31 +0300 (EEST)

On Tue, 14 Sep 2004, Gustaf Neumann wrote:

> I would not recommend this for the general usage, since
> - as uwe pointed out - this is bypassing the xotcl dispatcher
> an can lead to unexpected behavior (it is a defined behavior,
> but different from the variant without eval).

Yes, I let go of that assumption and implementation. It may be good to
mention in the documentation that the eval really is intended for fields
only (although it doesn't state anything about methods anyway, I was just
playing around).

Anyway, thanks for the response.

                               / http://www.fishpool.com/~setok/