diff options
author | griffin <briang42@easystreet.net> | 2023-08-08 17:10:20 (GMT) |
---|---|---|
committer | griffin <briang42@easystreet.net> | 2023-08-08 17:10:20 (GMT) |
commit | 0d106bd729c6d46d0806fd57f2fc799aef68a2aa (patch) | |
tree | 84feb3f1c2360975d942a63fa2bdd2a63afa04ce /generic/tclTestObj.c | |
parent | 4eef7b0ff03eacf3a688630bc515eea1f4340ce4 (diff) | |
download | tcl-0d106bd729c6d46d0806fd57f2fc799aef68a2aa.zip tcl-0d106bd729c6d46d0806fd57f2fc799aef68a2aa.tar.gz tcl-0d106bd729c6d46d0806fd57f2fc799aef68a2aa.tar.bz2 |
Fix bug [30e4e9102f] - Abstract List ListIndex should return NULL when index out of range.
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r-- | generic/tclTestObj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c index 70c75b6..6a0d47d 100644 --- a/generic/tclTestObj.c +++ b/generic/tclTestObj.c @@ -1073,7 +1073,7 @@ static const Tcl_ObjType v1TestListType = { offsetof(Tcl_ObjType, indexProc), /* This is a V1 objType, which doesn't have an indexProc */ V1TestListObjLength, /* always return 100, doesn't really matter */ V1TestListObjIndex, /* should never be accessed, because this objType = V1*/ - NULL, NULL, NULL, NULL, NULL + NULL, NULL, NULL, NULL, NULL, NULL }; |