Itcl - the [incr Tcl] extension

Ticket Change Details
Login
Overview

Artifact ID: e4d7672ad1be394b58136b7a1752df1ae2983d86
Ticket: d07590ce7dd0138ce43bdf4b22df558948030186
segfault with tailcall and coroutines and Itcl method calls
User & Date: dgp 2015-05-22 15:39:41
Changes

  1. icomment:
    
    Next, take coroutines out by replacing final command with:
    
    [juggler #auto dgp {}] toss X
    
    Produces output:
    
    dgp toss X -- ::juggler-::juggler::toss
    command "toss" already exists in namespace "::juggler"
        while executing
    "error "command \"$m\" already exists in namespace \"$ns\"""
        (class "::itcl::clazz" method "unknown" line 5)
        invoked from within
    "my toss X"
        invoked from within
    "toss $value"
        (object "::juggler0" method "::juggler::toss" body line 7)
        invoked from within
    "[juggler #auto dgp {}] toss X"
    
    
    Note that in this case the [namespace which] properly resolves.
    
    Then the weirdness is why unknown is getting in the picture when
    the "toss" method should already be known.
    
  2. login: "dgp"
  3. mimetype: "text/x-fossil-plain"
  4. priority changed to: "Immediate"
  5. resolution changed to: "Open"