Skip to content
Tcl Source Code Artifact [263cb4184d]
Login

Artifact [263cb4184d]

Artifact 263cb4184ddc451a63e346630b9c2f2c5fefa348:

Ticket change [263cb4184d] - New ticket [2971921fffffffff|2971921fff] <i>Bytecode compiled try misses finally handler</i>. by cyan on 2010-03-17 12:30:14.
D 2010-03-17T12:30:14
J assignee dkf
J cmimetype text/plain
J comment Tcl\sfrom\sCVS\son\s2010-03-14\son\sLinux\s(Ubuntu\s9.10\sx86_64)\n\nWhen\sa\sbytecode\scompiled\stry\scommand\sthrows\san\serror\sin\sthe\sbody,\swhich\sis\scaught\sin\sa\strap\s{...}\shandler,\sthe\sfinally\shandler\sis\snot\sexecuted.\n\nThe\sfollowing\sscript\sreliably\sreproduces\sthe\sproblem\sfor\sme:\n\nproc\sgo\s{}\s{\n\s\s\s\stry\s{\n\s\s\s\s\s\s\s\sputs\s"In\stry\sbody"\n\s\s\s\s\s\s\s\sthrow\s{bar}\s"hello"\n\s\s\s\s}\strap\s{bar}\s{res\soptions}\s{\n\s\s\s\s\s\s\s\sputs\s"trapped\sbar"\n\s\s\s\s}\sfinally\s{\n\s\s\s\s\s\s\s\sputs\s"in\sfinally"\n\s\s\s\s}\n\s\s\s\sputs\s"after\stry"\n}\n\ngo\n\nputs\s"-----------------"\ntry\s{\n\s\s\s\sputs\s"In\stry\sbody"\n\s\s\s\sthrow\s{bar}\s"hello"\n}\strap\s{bar}\s{res\soptions}\s{\n\s\s\s\sputs\s"trapped\sbar"\n}\sfinally\s{\n\s\s\s\sputs\s"in\sfinally"\n}\nputs\s"after\stry"\n\n\nExpected\soutput:\s\n\nIn\stry\sbody\ntrapped\sbar\nin\sfinally\nafter\stry\n-----------------\nIn\stry\sbody\ntrapped\sbar\nin\sfinally\nafter\stry\n\n\nProblem\soutput:\nIn\stry\sbody\ntrapped\sbar\nafter\stry\n-----------------\nIn\stry\sbody\ntrapped\sbar\nin\sfinally\nafter\stry\n\n\nThe\sbehaviour\schanged\swith\sthe\sCVS\scommit\s"Compilation\sof\s[try]\snow\senabled!"\sby\sdkf\son\s2010-02-09\s22:51:53.
J foundin obsolete:\s8.6b1.1
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter cyan
J subsystem 18.\sCommands\sM-Z
J title Bytecode\scompiled\stry\smisses\sfinally\shandler
J type Bug
K 2971921fffffffffffffffffffffffffffffffff
U cyan
Z e5670f830c51fa9b291c5d85a0af2774