Overview
| Artifact ID: | 1e4155d8db53afa9ce098784a539e67f1e09cf1e |
|---|---|
| Ticket: | 35fdc88036489d43b4dd1b326527dc0bd7762bf7
proc: disallow duplicated parameter names in arg spec |
| User & Date: | dgp on 2017-03-29 20:28:10 |
Changes
- icomment:
The contributed patch doesn't restore Tcl 7 handling. Instead it considers duplicate parameter names to be an error. Key trouble with this is: proc ::tk::EventMotifBindings {n1 dummy dummy} { ... } and proc ttk::entry::LineSelect {w _ _} {...} Since Tk breaks this proposed rule, it's a pretty safe bet other scripts and packages do as well. Given that, I'd consider this fix only for 8.7 and later, and might possibly consider it a Tcl 9 change. I'd like to see a patch bringing back Tcl 7 behavior to see how its different compat concerns would play out. - login: "dgp"
- mimetype: "text/plain"