Skip to content
Tcl Source Code History Of Ticket 1965063
Login

History Of Ticket 1965063

Artifacts Associated With Ticket 1965063

  1. Ticket change [5f31f442cd] (rid 115772) by dkf on 2008-05-16 05:18:34:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dkf"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "unknown method chaining"
    12. type initialized to: "Bug"
  2. Ticket change [73eb8362b7] (rid 105117) by dkf on 2008-05-16 15:14:29:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: YES
      
      Fixed by consolidating the special argument handling for unknown methods into one place (the dispatcher) from the method implementations (where it was trickier to get right, and indeed was wrong). This means that a C-implemented 'unknown' method will now Just Work right (i.e. have an extra argument for the method name) without doing anything special, unlike before.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [da0f7ae336] (rid 107708) by dkf on 2008-05-16 15:14:30:

    1. closedate changed to: "2008-05-16T08:14:30"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"