Artifacts Associated With Ticket 577015ffff
Ticket change [222d562c6f] (rid 130700) by nobody on 2002-07-03 15:36:00:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Version: 8.3.4 OS: Windows NT 4.0 SP 6 and Windows 2000 Problem: When using expr within a catch statement, sometimes an error is still thrown. For example: catch {expr NA} -> Throws an error catch {expr NA} cerr -> Returns 1 catch {expr} -> Throws an error catch {expr} cerr -> Returns 1 catch {expr this should work} -> Returns 1 catch {expr 5/0} -> Returns 1. Expected behavior: Should return 1 on any error condition. - foundin initialized to: "obsolete: 8.3.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "catch {expr something} is spotty"
- type initialized to: "Bug"
Ticket change [871452ba8d] (rid 131632) by dkf on 2002-07-03 22:45:49:
- assignee changed to: "msofer"
Ticket change [c9c1e25ea2] (rid 122342) by msofer on 2002-07-04 00:38:00:
- closedate changed to: "2002-07-03T17:38:00"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 The [catch] compiler should never return TCL_ERROR, as this prevents the error to be caught. It now returns TCL_OUT_LINE_COMPILE instead, so that the error occurs at runtime and can be caught. Fixed in HEAD and tcl-core-8-3-1-branch.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- subsystem changed to: "47. Bytecode Compiler"
- username: "msofer"