summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-09-19 17:01:58 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-09-19 17:01:58 (GMT)
commitb290b21a4427ac5d1584ad6fcf61e4934f1bf505 (patch)
treecd9ee01eab124e27a9b77d30fcac307790983fae /tests
parent34f5e7a008848bf85a6a5bf4d838aa3d8d21cd07 (diff)
downloadtcl-b290b21a4427ac5d1584ad6fcf61e4934f1bf505.zip
tcl-b290b21a4427ac5d1584ad6fcf61e4934f1bf505.tar.gz
tcl-b290b21a4427ac5d1584ad6fcf61e4934f1bf505.tar.bz2
Line numbers wrong in compiled [dict exists].
Diffstat (limited to 'tests')
-rw-r--r--tests/dict.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/dict.test b/tests/dict.test
index 797ab46..6c254eb 100644
--- a/tests/dict.test
+++ b/tests/dict.test
@@ -1899,6 +1899,12 @@ test dict-23.8 {CompileWord OBOE} {
} [return [incr n -[linenumber]]] x {}
}} [linenumber]
} 1
+test dict-23.9 {CompileWord OBOE} {
+ apply {n {
+ dict exists {} {*}{
+ } [return [incr n -[linenumber]]]
+ }} [linenumber]
+} 1
rename linenumber {}
test dict-24.22 {dict map results (non-compiled)} {