Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5c116979b4da3f5ff53cf838d9e1a5e090d6d590519620e07ac2cc1c5fdbabd1
Ticket: b80ccfcf323bc45619e14388603176d573a61cf0
a coroutine calls yieldto to yieldto itself, and loses control
User & Date: dkf on 2021-06-19 20:37:02
Changes

  1. icomment:
    <code>c2</code> doesn't exist; <code>c1</code> does exist, and is suspended within the call to <code>coroutine</code>
    <pre>
    % coroprobe c1 info frame 0
    type proc line 2 cmd {coroutine c2 p1} proc ::p0 level 0
    </pre>
    Resuming <code>c1</code> runs the call to <code>error</code>. Neither coroutine exists afterwards.
    <p>
    I'm not sure that this is anything but correct. It's weird, but yielding to a yieldto is weird.
    
  2. login: "dkf"
  3. mimetype: "text/html"