We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc76d0b commit b86e4b2Copy full SHA for b86e4b2
src/core/t-gob.c
@@ -818,7 +818,7 @@ const REBCNT Gob_Flag_Words[] = {
818
case A_TAKE:
819
len = D_REF(2) ? Get_Num_Arg(D_ARG(3)) : 1;
820
if (index + len > tail) len = tail - index;
821
- if (index < 0 || index >= tail) goto is_none;
+ if (index >= tail) goto is_none;
822
if (!D_REF(2)) { // just one value
823
VAL_SET(val, REB_GOB);
824
VAL_GOB(val) = *GOB_SKIP(gob, index);
0 commit comments