Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-06-21
17:02 • Closed ticket [1219112fff]: Incomplete catch compilation plus 6 other chan... artifact: 7c42b6e8ef user: dkf
04:29 • Ticket [1219112fff]: 6 changes artifact: 8d4deb6576 user: dkf
2005-06-14
02:46 • Ticket [1219112fff]: 5 changes artifact: 7eb2e24086 user: dgp
2005-06-12
11:12 • New ticket [1219112fff]. artifact: 8d670ea437 user: dkf

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.