Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 959a41ae300d66ae7c3f7128f3f83a369876b01222290c07558623b8103f8dbe
Ticket: f7afd3dbef3c3a8e73687a76f8009ee19729544c
tailcall does not trigger an [namespace unknown] handler
User & Date: pooryorick on 2019-12-24 20:56:07
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    The following script illustrates that tailcall does not trigger a handler set using <code>namespace unknown</code>.
    
    
    <code><verbatim>
    namespace eval ns1 {
        proc u1 args {
            return hello
        }
        namespace unknown u1
    }
    
    # this triggers the unknown handler
    puts [namespace eval ns1 nosuchroutine]
    
    # this does not
    puts [apply [list {} {
        tailcall nosuchroutine
    } ns1]]
    </verbatim></code>
    
  5. is_private changed to: "0"
  6. login: "pooryorick"
  7. priority changed to: "5 Medium"
  8. resolution changed to: "None"
  9. severity changed to: "Minor"
  10. status changed to: "Open"
  11. submitter changed to: "pooryorick"
  12. subsystem changed to: "60. NRE and coroutines"
  13. title changed to:
    tailcall does not trigger an [namespace unknown] handler
    
  14. type changed to: "Bug"