Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Defect! Objects with duplicate set-words have an extra unset! value

From: al::bri::xtra::co::nz at: 9-Nov-2000 20:33

>> z: make object! [
[ THE: "THE should be in upper case." [ the: "THE remains in upper case." [ ]
>> probe z
make object! [ THE: "THE remains in upper case." ]
>> second z
== [ make object! [ THE: "THE remains in upper case." ] "THE remains in upper case." unset]
>> first z
== [self THE] Note the "unset" here: ] "THE remains in upper case." unset] This:------------------------------^^^^^ is wrong! It shouldn't be there at all! The Defect is almost certainly to be in Rebol's object scanner that picks up set-word! data types and allocates space for them in the object!'s context. It fails to consider "perverted?!" set-word!-s that differ only in case from another. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/