Opened 4 years ago

Closed 2 years ago

Last modified 2 years 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) 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by jmroot (Joshua Root)

Attachment: catch.tcl added

comment:1 Changed 4 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 2 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Resolution: fixed
Status: newclosed

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

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