Diff
Not logged in

Differences From Artifact [a0224829ac]:

To Artifact [04446649dd]:


105
106
107
108
109
110
111
112

113
114
115
116
117
118
119

120
121
122
123
124
125
126
105
106
107
108
109
110
111

112
113
114
115
116
117
118

119
120
121
122
123
124
125
126







-
+






-
+







    set errorCode
} {{a b} c}

test result-6.0 {Bug 1209759} -constraints testreturn -body {
    # Might panic if bug is not fixed.
    proc foo {} {testreturn}
    foo
} -returnCodes ok  -result {}
}  -result {}
test result-6.1 {Bug 1209759} -constraints testreturn -body {
    # Might panic if bug is not fixed.
    proc foo {} {catch {return -level 2}; testreturn}
    foo
} -cleanup {
    rename foo {}
} -returnCodes ok -result {}
} -result {}
test result-6.2 {Bug 1649062} -setup {
    proc foo {} {
        if {[catch {
            return -code error -errorinfo custom -errorcode CUSTOM foo
        } err]} {
            return [list $err $::errorCode $::errorInfo]
        }