summaryrefslogtreecommitdiffstats
path: root/generic/tclVar.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r--generic/tclVar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c
index e540c49..d4e5339 100644
--- a/generic/tclVar.c
+++ b/generic/tclVar.c
@@ -3411,7 +3411,7 @@ TclArraySet(
* Install the contents of the dictionary or list into the array.
*/
- if (arrayElemObj->typePtr == &tclDictType) {
+ if (arrayElemObj->typePtr == &tclDictType && arrayElemObj->bytes == NULL) {
Tcl_Obj *keyPtr, *valuePtr;
Tcl_DictSearch search;
int done;