diff options
author | dgp <dgp@users.sourceforge.net> | 2014-09-10 22:17:21 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-09-10 22:17:21 (GMT) |
commit | d75135cca196056a72935f75055f30b95e2d81e3 (patch) | |
tree | 8cfd6122f896908d6d15672eac7b86987ff352a9 /tests | |
parent | a5dd225e78f02c5e39fdb603b6c43f5d360a03bd (diff) | |
download | tcl-d75135cca196056a72935f75055f30b95e2d81e3.zip tcl-d75135cca196056a72935f75055f30b95e2d81e3.tar.gz tcl-d75135cca196056a72935f75055f30b95e2d81e3.tar.bz2 |
[cee90e4e88] Correct error in stack depth checking.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/error.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/error.test b/tests/error.test index 0de644c..af07ed7 100644 --- a/tests/error.test +++ b/tests/error.test @@ -1184,6 +1184,12 @@ test error-21.8 {memory leaks in try: Bug 2910044} memory { } } 0 +test error-21.9 {Bug cee90e4e88} { + # Just don't panic. + apply {{} {try {} on ok {} - on return {} {}}} +} {} + + # negative case try tests - bad "trap" handler # what is the effect if we attempt to trap an errorcode that is not a list? # nested try |