Skip to content

raise should re-populate exception trace set to nil #9528

Description

@headius

Spec came in recently and lack of this feature breaks several tests in net-imap.

Spec is here, and applies to Kernel, Fiber, and Thread#raise:

it "re-raises a previously rescued exception with cleaned backtrace and sets a new backtrace" do

Discussion in net-imap: ruby/net-imap#720

cc @nevans

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions