aboutsummaryrefslogtreecommitdiff
path: root/tests/tailcall.test
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-11-27 23:01:50 +1000
committerSteve Bennett <steveb@workware.net.au>2011-11-28 13:13:42 +1000
commita730e83215ae7b15a3311afec79c5b4ce0700ed4 (patch)
tree01e6ce426a73f0c3e6380dc3cee037d18cf16e0d /tests/tailcall.test
parentae8a6597a4220c44c14cd7e4214384926468a732 (diff)
downloadjimtcl-a730e83215ae7b15a3311afec79c5b4ce0700ed4.zip
jimtcl-a730e83215ae7b15a3311afec79c5b4ce0700ed4.tar.gz
jimtcl-a730e83215ae7b15a3311afec79c5b4ce0700ed4.tar.bz2
Implement [alias] in C
And allow commands to set a temporary name for the purpose of generating error messages Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'tests/tailcall.test')
-rw-r--r--tests/tailcall.test8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/tailcall.test b/tests/tailcall.test
index 027dfe8..35ae91c 100644
--- a/tests/tailcall.test
+++ b/tests/tailcall.test
@@ -31,14 +31,6 @@ test tailcall-1.3 {Tailcall does return} {
set x
} {5}
-# Note that Tcl can't do tailcall in uplevel
-test tailcall-1.4 {uplevel tailcall} jim {
- proc a {} { set ::y [info level] }
- proc b {} { set ::x [info level]; uplevel 1 tailcall a}
- b
- list $x $y
-} {1 1}
-
test tailcall-1.5 {interaction of uplevel and tailcall} {
proc a {cmd} {
tailcall $cmd