Skip to content
Tcl Source Code View Ticket
Login

View Ticket

bad stack depth computations: is 0, should be 1

Closed / Fixed27897fac1b57bcf891b02a924cb1f2abd9f34161Created 8 years agoUpdated 8 years ago
Descriptionplain2018-12-02 09:58:23
Hi,

proc example {} {
set a -100
  if {abs($a) < -10} {
  }
}
example
exit

I am porting tcl fro 8.4 to 8.6.8
getting during during run above script.
"abs()" is mine unary operator. 
my observation is ... tcl is generated instruction and written on stack for "abs()" operator during parsing of "abs($a)". But did not execute this instruction.

Could u please help ?

Thanks,
Arvind
anonymous29plain2018-12-02 15:44:35
this is porting issue... actually  i was using wrong stackEffect in tclInstructionTable table.
Log in (anonymous is fine) to add a comment.