From: <aku...@sh...> - 2017-02-23 13:21:00
|
Automated mail by fx, on behalf of aku...@sh... Ticket Change [7c6098ffd9e82c59f2562c109c6eb1aa7b09080b] [proc: disallow duplicated parameter names in arg spec] By avl42 For Tcl On 2017-02-23T13:15:12.151 Details http://core.tcl.tk/tcl/tinfo?name=7c6098ffd9e82c59f2562c109c6eb1aa7b09080b Ticket http://core.tcl.tk/tcl/tktview/35fdc88036489d43b4dd1b326527dc0bd7762bf7 Changed Fields icomment: Interestingly, while Tcl 8.6 was changed to disallow non-optional arguments following optional arguments, it didn't address non-unique names in the same wash. Btw., your expectation ("it'll just discard the first two args at run time") is not the right one, because instead it only uses the first one of the values. login: avl42 username: It was noticed, but so far inertia won... ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl.tk/ ------------------------------------------------------------ |