Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: df14406fe7ffcc20029820888785a7df08807883
Ticket: 2153080fffffffffffffffffffffffffffffffff
coroutine deletion, yield should error
User & Date: msofer on 2008-10-08 22:10:31
Changes

  1. icomment:
    I tend to agree with dkf: the main problem is (was, fix now committed) that [info coro] was returning a wrong name. As returning an error from [info] is not really an option, the fix is that it will now return {}. 
    
    The new interpretation for [info coro] returning {} is: "there is no command that will resume this coroutine". That happens for one of two reasons:
      - no coroutine is running
      - the command to resume the running coroutine has been deleted
    
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"