Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5f31f442cd42d2b5a0a5176909ed93ecbb0d0ea4
Ticket: 1965063fffffffffffffffffffffffffffffffff
unknown method chaining
User & Date: dkf on 2008-05-16 05:18:34
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Consider the script:
      oo::class create foo {
         method dummy {} {}
         method unknown args {next {*}$args}
      }
      foo create bar
      catch {bar boo} -> opts
      puts [dict get $opts -errorinfo]
    
    This produces bizarre output, like this:
    
    unknown method "next": must be destroy, dummy or unknown
        while executing
    "next {*}$args"
        (class "::foo" method "unknown" line 1)
        invoked from within
    "bar boo"
    
    Something's not right; that should be 'unknown method "boo"'. Need a test for this too...
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dkf"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "unknown method chaining"
  12. type changed to: "Bug"