[info level 0] returns incompatible result in exported command since Tcl 8.6.9
|User & Date:||dgp 2019-06-13 16:58:35|
- Change icomment to:
Because the caller of an ensemble, the definition of the ensemble, and the target command can all three have different namespaces, and because the [info level 0] list may use only its first element alone to identify the command (the arguments to the proc have to be [lrange [info level 0] 1 end]) the only feasible solution (maybe the only possible one?) is to fully qualify the command name stored in framePtr->objv.
This adds yet another example to the list of ways Tcl deeply insists that every command must have a fully qualified name. The existing commands that lack one are bugs in need of fixing. TIP to come.
- Change login to "dgp"
- Change mimetype to "text/plain"