Type | Note | Status | tested | Date | 26-Apr-2010 16:07 |
---|---|---|---|---|---|
Version | alpha 97 | Category | Documentation | Submitted by | meijeru |
Platform | All | Severity | minor | Priority | normal |
Summary | DATA field of gob! value has undocumented restrictions |
---|---|
Description | The DATA field of a gob! value is 32 bits in size in the current implementation. As a consequence, it cannot contain integers >= 2 ** 32, nor can it contain series values with the series not at the head. |
Example code |
>> g: make gob! [] >> g/data: to-integer 2 ** 32 == 4294967296 >> g/data == 0 ;; upper 32 bits are lost >> g/data: next "abc" == "bc" ;; series pointer beyond head >> g/data == "abc" ;; series pointer is lost |
Assigned to | n/a | Fixed in | alpha 98 | Last Update | 6-May-2010 09:37 |
---|
Comments | |
---|---|
(0002227)
Carl 26-Apr-2010 17:00 |
http://www.rebol.com/r3/docs/view/gobs.html#section-7 now mentions this restriction.
BUT NOTE: DO NOT DEPEND ON UNDOCUMENTED FIELDS in usage from extensions. They may easily change between releases. See extensions docs for warnings. |
Date | User | Field | Action | Change |
---|---|---|---|---|
6-May-2010 09:37 | BrianH | Status | Modified | built => tested |
1-May-2010 08:46 | carl | Fixedin | Modified | => alpha 98 |
26-Apr-2010 19:52 | carl | Comment : 0002227 | Modified | - |
26-Apr-2010 19:51 | carl | Status | Modified | reviewed => built |
26-Apr-2010 17:00 | carl | Comment : 0002227 | Added | - |
26-Apr-2010 17:00 | carl | Code | Modified | - |
26-Apr-2010 17:00 | carl | Status | Modified | submitted => reviewed |
26-Apr-2010 16:07 | meijeru | Ticket | Added | - |