Skip to content

Problem in "return" wrapper #5

@budden

Description

@budden

Extended form of return seem to be wrapped incorrectly (actually wrapped code just fails to execute). In the DbgNub_Return, there is a erroneous line https://github.com/flightaware/TclProDebug/blob/master/lib/tcldebugger/nub.tcl#L2025

array set optArray $args

after

    if {[llength $args] % 2} {
        array set optArray [lrange $args 0 end-1]
    } else { array set optArray $args }

Sorry, I'm reluctant to make PR, because I'm Russian and github requires me to enable 2FA just now. After enabling 2FA, I expect that my account is banned by my phone number region. So I don't expect github will be available for me after just a few days.

I made a fork in a Russian git hosting, but I can't give you a hyperlink due to spam protection, and I'll push it to my fork. Please try to find my e-mail in my github repos and mail me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions