Skip to content

Commit

Permalink
FIX: bitset from empty string should have zero length
Browse files Browse the repository at this point in the history
```
>> make bitset! ""
== make bitset! #{}

>> length? make bitset! ""
== 0
```

fixes: Oldes/Rebol-issues#2415
  • Loading branch information
Oldes committed Apr 15, 2020
1 parent 3d975f5 commit 77a86dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/t-bitset.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
for (; n < (REBINT)VAL_TAIL(val); n++)
if (up[n] > maxi) maxi = up[n];
}
maxi++;
//maxi++; //@@ https://github.com/Oldes/Rebol-issues/issues/2415
break;

case REB_BINARY:
Expand Down

0 comments on commit 77a86dc

Please sign in to comment.