Overview
| Artifact ID: | 9d1403c61e394b38156ae5ed901f5ba217ef7973 |
|---|---|
| Ticket: | 3610404fffffffffffffffffffffffffffffffff
re-resolution gets wrong target |
| User & Date: | dgp on 2013-08-14 19:02:42 |
Changes
- assignee changed to: "dgp"
- closedate changed to: "2456519.29354567"
- closer changed to: "dgp"
- 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. - icomment: "Finally getting back to closing this..."
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- severity changed to: "Minor"
- status changed to: "Closed"