Overview
| Artifact ID: | 0b194030e623c661c0898905f38fb30eb8f0249f043efd007f20fccbba1e4362 |
|---|---|
| Ticket: | 8b9854c3d8ba8d64a7d3a9b20dfec552c8ee5f54
[info level 0] returns incompatible result in exported command since Tcl 8.6.9 |
| User & Date: | pooryorick on 2019-06-22 11:01:06 |
Changes
- closedate changed to: "2458656.95910174"
- icomment:
Here is the example from the previous comment, but indented: <code><verbatim> puts "Using Tcl [package present Tcl]" namespace eval origin { namespace path ::tcl::mathop proc foo n { if {$n == 0} {return 1} return [* $n [namespace inscope [namespace current] [lreplace [info level 0] 1 1 [incr n -1]]]] } proc fact {n} {error BROKEN!} namespace export foo } namespace eval demo { namespace import ::origin::foo rename foo fact fact 3 } Using Tcl 8.6.9 BROKEN! Using Tcl 8.6.8 BROKEN! Using Tcl 8.5.19 BROKEN! </verbatim></code> - login: "pooryorick"
- mimetype: "text/x-fossil-wiki"