Import Tcl 8.6.12
This commit is contained in:
@@ -29,9 +29,9 @@ if {[testConstraint testnrelevels]} {
|
||||
namespace path ::tcl::mathop
|
||||
#
|
||||
# [testnrelevels] returns a 6-list with: C-stack depth, iPtr->numlevels,
|
||||
# cmdFrame level, callFrame level, tosPtr and callback depth
|
||||
# cmdFrame level, callFrame level, tosPtr and callback depth
|
||||
#
|
||||
variable last [testnrelevels]
|
||||
variable last [testnrelevels]
|
||||
proc depthDiff {} {
|
||||
variable last
|
||||
set depth [testnrelevels]
|
||||
@@ -329,7 +329,7 @@ test nre-8.1 {nre and {*}} -body {
|
||||
} -cleanup {
|
||||
rename inner {}
|
||||
rename outer {}
|
||||
} -result {1 1 1}
|
||||
} -result {1 1 1}
|
||||
test nre-8.2 {nre and {*}, [Bug 2415422]} -body {
|
||||
# force an expansion that grows the evaluation stack, check that nre
|
||||
# adapts the bcFramePtr. This causes an NRE assertion to fail if it is not
|
||||
|
||||
Reference in New Issue
Block a user