Opened 3 years ago

Closed 20 months ago

Last modified 19 months ago

#62710 closed defect (fixed)

`return -code error` doesn't work inside a 'try' command's catch clause

Reported by: jmroot (Joshua Root) Owned by:
Priority: Normal Milestone: MacPorts 2.8.0
Component: base Version:
Keywords: Cc:
Port:

Description

See attached demo code. This was the underlying cause of #56549.

Attachments (1)

catch.tcl (548 bytes) - added by jmroot (Joshua Root) 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by jmroot (Joshua Root)

Attachment: catch.tcl added

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Summary: `return -code error` doesn't work inside a catch clause`return -code error` doesn't work inside a 'try' command's catch clause

comment:2 Changed 20 months ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Resolution: fixed
Status: newclosed

comment:3 Changed 19 months ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.8.0
Note: See TracTickets for help on using tickets.