metaeducation / rebol-issues

6 stars 1 forks source link

gob! equality is not consistent with other datatypes #1490

Open rebolbot opened 14 years ago

rebolbot commented 14 years ago

Submitted by: Ashley

Refer example code below.

>> (make block! []) = make block! []
== true
>> (make object! []) = make object! [] 
== true
>> (make task! []) = make task! []
== true  ; this is probably bad
>> (make gob! []) = make gob! []
== false  ; is this correct?

CC - Data [ Version: alpha 97 Type: Issue Platform: All Category: Graphics Reproduce: Always Fixed-in:none ]

rebolbot commented 14 years ago

Submitted by: BrianH

Afaik gobs are supposed to be unique, so all equality between them should be the same as SAME?. Carl would have to say for sure though.

However, that equality between task! types is probably a serious bug - they should be unique too.