Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 043c6eb52cea0e4f7ce4fde86fec4d89fa596c91f66fbdf49c14447430db0432
Ticket: dbafd8235cf752602e7404bbbb5c1201d1d167fa
coroutine, vwait, and try == no background error handler
User & Date: pooryorick on 2024-10-18 08:40:19
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    In the following script, the background error handler is not invoked. 
    
    <code><verbatim>
    proc p1 {} {
    	error {error 1}
    }
    
    after 0 [list coroutine c1 ::apply [list {} {
    	variable done
    	try p1 finally {
    		set done 1
    	}
    	error {error 2}
    } [namespace current]]]
    
    vwait done
    </verbatim></code>
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "pooryorick"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "6ad13b180abb940a7b8a63d19ec70f064b0e6b2b"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "pooryorick"
  14. subsystem changed to: "60. NRE and coroutines"
  15. title changed to:
    coroutine, vwait, and try == no background error handler
    
  16. type changed to: "Bug"