Overview
| Artifact ID: | 383c16ddb220fbd73ef6be915e77e78a75548b6c |
|---|---|
| Ticket: | 729692ffffffffffffffffffffffffffffffffff
redef of bcc'ed commands inoperant in current bcode |
| User & Date: | rmax on 2003-04-29 16:27:44 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
The following piece of code doesn't work as expected due to the empty proc body optimization that went into Tcl 8.4. proc bar args {} proc main {} { proc bar args {puts "this is bar"} bar } main While this example is artificial, I stumbled over this bug in a situation where a (formerly empty) proc got redefined through by namespace import -force and invoked immediately afterwards, all within the same arm of a switch statement. So it took me some time (and the help of fellow Tcl'ers on the chat) to find out what's going on. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "rmax"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "empty body optimization does too much"
- type changed to: "Bug"