The internals of the "boolean"
Tcl_ObjType have changed in
Tcl 8.5. The attached patch
provides an update to tbcload
to deal with the changes.
Briefly, a "boolean" Tcl_Obj
serialized to a .tbc file in the
past might hold a string value
that can no longer be a
"boolean" Tcl_Obj after the
changes. To deal with the
changes, the attached patch
reads in anything that was
written as a "boolean" as
a type-less Tcl_Obj -- that is,
the call to Tcl_ConvertToType()
is not done.
For the values that would be
caught by the internals change,
this solves the problem. For the
values that would not cause any
trouble, all this change does is
delay the conversion to "boolean"
type until the value is first used
as a "boolean". Same processing
gets done, just shifted in time a bit.
This patch will need review and testing,
as I'm not a usual contributor to this