REBOL3 tracker
  0.9.12 beta
Ticket #0001592 User: anonymous

Project:



rss
TypeBug Statustested Date2-May-2010 20:46
Versionalpha 97 CategoryNative Submitted byCh.Ensel
PlatformAll Severityminor Prioritynormal

Summary UNIQUE/DIFFERENCE/INTERSECT/UNION do not accept blocks containing values of type NONE! or UNSET!
Description Unsure whether this is a bug or a feature.
Example code
>> unique [#[none]]
** Script error: none! type is not allowed here
** Where: unique
** Near: unique [none]

>> union [#[none]] []
** Script error: none! type is not allowed here
** Where: union
** Near: union [none] []

>> difference [#[none]] []
** Script error: none! type is not allowed here
** Where: difference
** Near: difference [none] []

>> intersect [#[none]] []
** Script error: none! type is not allowed here
** Where: intersect
** Near: intersect [none] []

>> unique reduce [()]
** Script error: unset! type is not allowed here
** Where: unique
** Near: unique reduce [()]

>>
>> unique [()]
** Script error: paren! type is not allowed here
** Where: unique
** Near: unique [()]

Assigned ton/a Fixed inalpha 108 Last Update20-Oct-2010 03:23


Comments
(0002297)
Sunanda
2-May-2010 22:37

This is a generalisation / more detailed variant of CC#1124
(0002298)
BrianH
2-May-2010 22:43

A generalization of the unset! part, but the rest is a separate issue. The reason that #1124 is marked as a problem doesn't apply to the none! and paren! types.
(0002522)
Carl
22-Sep-2010 01:25

Fixed. None and unset added. Paren is like block, so not added here.

Date User Field Action Change
20-Oct-2010 03:23 BrianH Summary Modified UNIQUE/DIFFERENCE/INTERSECT/UNION do not accept blocks containing values of type NONE!, UNSET!, PAREN! => UNIQUE/DIFFERENCE/INTERSECT/UNION do not accept blocks containing values of type NONE! or UNSET!
20-Oct-2010 03:23 BrianH Status Modified built => tested
22-Sep-2010 01:25 carl Fixedin Modified => alpha 108
22-Sep-2010 01:25 carl Status Modified reviewed => built
22-Sep-2010 01:25 carl Comment : 0002522 Added -
2-May-2010 22:44 BrianH Description Modified -
2-May-2010 22:44 BrianH Code Modified -
2-May-2010 22:44 BrianH Status Modified submitted => reviewed
2-May-2010 22:43 BrianH Comment : 0002298 Added -
2-May-2010 22:37 sunanda Comment : 0002297 Added -
2-May-2010 20:46 Ch.Ensel Ticket Added -