Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Incomplete [catch] compilation

Closed / Fixed1219112fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-12 11:12:19
The catch form:
  catch {some script} msg opts
is not bytecode compiled. (The [catch] compiler has not
yet been updated in the light of 8.5 changes.)

Needs an extra opcode, perhaps called
INST_PUSH_RETURN_OPTIONS (modelled after
INST_PUSH_RESULT and INST_PUSH_RETURN_CODE)
dgpplain2005-06-14 02:46:10
Logged In: YES 
user_id=80530


hmmm... I'd quibble this is a
feature request rather than a bug,
but yes, worth a look.
dkfplain2005-06-21 04:29:24
Logged In: YES 
user_id=79902

Fixed (or at least enough to be the scope of a future bug
report if it doesn't work)
dkfplain2005-06-21 17:02:11
Logged In: YES 
user_id=79902

Confirmed that it is doing what I want (issuing the new
opcode and executing it) with low-level tracing.
Log in (anonymous is fine) to add a comment.