Overview
| Artifact ID: | f46067525da87bf4dc66e3c3265932b4a211b593 |
|---|---|
| Ticket: | 3610404fffffffffffffffffffffffffffffffff
re-resolution gets wrong target |
| User & Date: | dgp on 2013-04-09 18:57:23 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Here's the real bug I've been striving to demonstrate, recording mismatches with exec tracing capability along the way. oo::object create foo oo::objdefine foo { method target {} {puts Hit!} forward bar my target method bump {} { set ns [info object namespace ::foo] rename ${ns}::my ${ns}:: rename ${ns}:: ${ns}::my } } proc harness {} { foo target foo bar } proc handle {cmd args} { foo bump } trace add execution harness enterstep handle proc my {method} { puts Missed! } harness Output: Hit! Missed! The re-resolution of "my" happens in the wrong context. Comparing with the machinery in [tailcall], I think this one has a simple fix. - foundin changed to: "current: 8.6.0"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "35. TclOO Package"
- title changed to: "re-resolution gets wrong target"
- type changed to: "Bug"