Skip to content
Tcl Source Code View Ticket
Login

View Ticket

bad stack top in nested [dict for]

Closed / Duplicate3614383fffffffffffffffffffffffffffffffffCreated 13 years agoUpdated 13 years ago
Descriptionplain2013-06-06 14:26:15
Using a --enable-symbols=all build of either the trunk,
or the 8.6.0 release:

$ cat demo.tcl
apply {{} {
    dict for {a b} {c d} {
dict for {e f} {g h} {
    return 5
}
    }
}}
$ make shell SCRIPT=demo.tcl
...
Bad stack top 4 at pc 104 in TclNRExecuteByteCode (min 0, max 3)
 executing dict for {e f} {g h} {
    return 5
}
TclNRExecuteByteCode execution failure: bad stack top
make: *** [shell] Abort trap
dgpplain2013-06-06 21:27:06
allow_comments - 1

stupid way to react to a refresh.
Log in (anonymous is fine) to add a comment.