REBOL3 tracker
  0.9.12 beta
Ticket #0001352 User: anonymous

Project:



rss
TypeIssue Statustested Date25-Nov-2009 11:56
Versionalpha 95 CategoryDatatype Submitted bymeijeru
PlatformAll Severityminor Prioritynormal

Summary Specification of bitset with empty binary! value treated inconsistently
Description Normally, specifying a bitset with a binary value directly, or with a block containing the word bits followed by the binary value, should be equivalent. Not so when the binary value is empty.
Example code
>> make bitset! #{}
** Script error: invalid argument: #{}
>> make bitset! [bits #{}]
== make bitset! #{00}

Assigned ton/a Fixed inalpha 97 Last Update7-Feb-2010 22:33


Comments
(0001825)
meijeru
26-Nov-2009 10:45

I have a definite preference for MAKE BITSET! #{} and MAKE BITSET! [BITS #{}] to produce the empty bitset, not the one with 8 bits that are zero.
(0002001)
BrianH
7-Feb-2010 22:32

Implemented according to your preference in alpha 97.

Date User Field Action Change
7-Feb-2010 22:33 BrianH Status Modified built => tested
7-Feb-2010 22:32 BrianH Comment : 0002001 Added -
7-Feb-2010 02:41 Carl Fixedin Modified => alpha 97
7-Feb-2010 02:41 Carl Status Modified reviewed => built
26-Nov-2009 10:45 meijeru Comment : 0001825 Added -
26-Nov-2009 00:11 BrianH Code Modified -
26-Nov-2009 00:11 BrianH Status Modified submitted => reviewed
25-Nov-2009 11:56 meijeru Ticket Added -