Type | Bug | Status | complete | Date | 20-Sep-2010 12:24 |
---|---|---|---|---|---|
Version | alpha 107 | Category | Native | Submitted by | Ladislav |
Platform | All | Severity | minor | Priority | normal |
Summary | BIND of blocks returns their head |
---|---|
Description | When binding a not-head block I get the head as the BIND result, see the example below |
Example code |
b: next [1] head? b == false head? bind b 'rebol == true ; should be false head? bind/copy b 'rebol == true |
Assigned to | n/a | Fixed in | alpha 109 | Last Update | 2-Nov-2010 00:30 |
---|
Comments | |
---|---|
(0002498)
Carl 20-Sep-2010 22:14 |
Ok, it will now be defined to keep the offset, even if a /copy is requested.
Of course, this now begs the question if BIND should not affect values prior to the offset, no? |
(0002499)
Ladislav 20-Sep-2010 22:42 |
Yes, that is a question that pops up. Nevertheless, I was caught by the above. Regarding the /copy: it worked quite expectedly - copied just the respective part and bound it. I am not sure, whether it needed any improvement. |
(0002623)
BrianH 20-Oct-2010 04:22 |
Not fixed in alpha 108. No, BIND shouldn't affect values prior to the offset. And BIND/copy should return the value from the point of the offset, not any values before the offset, and the new value should be at its head (this is the behavior in alpha 108). |
(0002708)
Ladislav 30-Oct-2010 23:08 |
in the core-tests suite |
Date | User | Field | Action | Change |
---|---|---|---|---|
2-Nov-2010 00:30 | BrianH | Status | Modified | tested => complete |
30-Oct-2010 23:08 | Ladislav | Comment : 0002708 | Added | - |
21-Oct-2010 05:38 | BrianH | Status | Modified | built => tested |
20-Oct-2010 08:11 | carl | Status | Modified | reviewed => built |
20-Oct-2010 08:11 | carl | Fixedin | Modified | => alpha 109 |
20-Oct-2010 08:11 | carl | Code | Modified | - |
20-Oct-2010 04:24 | BrianH | Code | Modified | - |
20-Oct-2010 04:22 | BrianH | Comment : 0002623 | Added | - |
20-Oct-2010 04:19 | BrianH | Fixedin | Modified | alpha 108 => none |
20-Oct-2010 04:19 | BrianH | Status | Modified | built => reviewed |
21-Sep-2010 23:37 | BrianH | Category | Modified | Unspecified => Native |
20-Sep-2010 22:42 | Ladislav | Comment : 0002499 | Added | - |
20-Sep-2010 22:18 | carl | Status | Modified | reviewed => built |
20-Sep-2010 22:18 | carl | Fixedin | Modified | => alpha 108 |
20-Sep-2010 22:17 | carl | Comment : 0002498 | Modified | - |
20-Sep-2010 22:14 | carl | Comment : 0002498 | Modified | - |
20-Sep-2010 22:14 | carl | Comment : 0002498 | Added | - |
20-Sep-2010 22:04 | carl | Status | Modified | submitted => reviewed |
20-Sep-2010 22:04 | carl | Code | Modified | - |
20-Sep-2010 12:24 | Ladislav | Ticket | Added | - |