Overview
| Artifact ID: | 8d9ab496503bae52589c01794ec542458859c894 |
|---|---|
| Ticket: | 4402cfa58cc1a1651d132a060e1587c7269fdabf
Improper ensemble intrep usage |
| User & Date: | dgp on 2016-04-01 03:42:58 |
Changes
- icomment:
The first {launch foo} is handled correctly. The {launch ev} is also handled correctly, but has the side effect of storing an intrep in the "ev" value which keeps a record of both the target command prefix in the ensemble ("bingo") and the expanded full name of the subcommand when it was triggered by an abbreviation ("event"). The full name of the subcommand is used in the error message, even though the script used only the abbreviated form. The final {launch foo} gets things wrong. When an error message is crafted this time and it's time to append the string "ev" as part of the usage, that value still has the magic intrep, and the expanded string is pulled into the error message even though that's not correct in this context. All of this is in Tcl_WrongNumArgs(). - login: "dgp"
- mimetype: "text/plain"