diff options
author | andreas_kupries <akupries@shaw.ca> | 2009-11-09 22:58:59 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2009-11-09 22:58:59 (GMT) |
commit | c528994f852f548ec885caf153cad894f2476296 (patch) | |
tree | 0295335b7355ae81d115fb9de57c6124be82ce9b /tests/info.test | |
parent | fac35a0f3e44f72d2c4d6248a4429e27b78bb2b7 (diff) | |
download | tcl-c528994f852f548ec885caf153cad894f2476296.zip tcl-c528994f852f548ec885caf153cad894f2476296.tar.gz tcl-c528994f852f548ec885caf153cad894f2476296.tar.bz2 |
* tests/info.test: Resolve ambiguous resolution of variable
"res". Backport from 8.5
Diffstat (limited to 'tests/info.test')
-rw-r--r-- | tests/info.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/info.test b/tests/info.test index 21e4f75..c225127 100644 --- a/tests/info.test +++ b/tests/info.test @@ -13,7 +13,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: info.test,v 1.24.2.13 2009/08/25 20:59:11 andreas_kupries Exp $ +# RCS: @(#) $Id: info.test,v 1.24.2.14 2009/11/09 22:58:59 andreas_kupries Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -969,7 +969,7 @@ set body {set flag 0 set a c set res [info frame 0]} ;# line 3! -test info-31.0 {ns eval, script in variable} tip280 { +test info-31.0 {ns eval, script in variable} tip280 {set res {} namespace eval foo $body set res } {type eval line 3 cmd {info frame 0} level 0} |