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

[Xotcl] xotcl crash

From: Tibichte <zak_at_isa-software.com>
Date: Thu, 23 Jul 2009 09:51:35 +0200

Hello,

 

I am experimenting with the xotcl method forwarding.

 

1- if I create a method forwarding f1:

obj forward f1 list {%_at_end 13} %self

? { obj f1 1 2 3 } [list ::obj 1 2 3 13]

 

 

Question:

Why ::obj was inserted at the beginning but not at the end?

 

 

2- This forwarding method causes xotcl to crash:

obj forward f2 list {%_at_end 13} %self %1

? { obj f2 1 2 3 }

 

Regards,

 

Abderrazak Tibichte