On Thursday 06 March 2008 11:47:41 Will Coleda wrote: > Sure. Take the original: > > > $ ../../parrot tcl.pbc -e "puts [concat {expand}[lindex {a b} 1]]" > > and just tack a --pir on the end: I verified that saving that out to a > .pir file and running *that* through parrot generates the same error.
Okay, here's what I've found. The attached PIR file runs fine on trunk, but fails in the branch. The problem comes at line 36, where the code calls &concat on a TclConst, attempting to flatten it. The TclConst comes from a previous __list call. I don't know enough about the details of Tcl right now to see if there's some different kind of PMC returned from trunk/branch, but does this help at all? If you can tell me what seems to be different, I can check the C code. -- c