From a21451adb18ccaea3e9e1b573d8640f21b9ee4c2 Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Mon, 9 Nov 2009 22:58:59 +0000 Subject: * tests/info.test: Resolve ambiguous resolution of variable "res". Backport from 8.5 --- ChangeLog | 3 +++ tests/info.test | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5aa007f..08426a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ to prevent seg.faulting. Backport from valgrinding the Tcl 8.5 branch. + * tests/info.test: Resolve ambiguous resolution of variable + "res". Backport from 8.5 + 2009-10-23 Andreas Kupries * generic/tclCompCmds.c: [Bug 2881263] (TclCompileForeachCmd, 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} -- cgit v0.12