Type | Bug | Status | complete | Date | 12-Nov-2010 08:08 |
---|---|---|---|---|---|
Version | alpha 110 | Category | Native | Submitted by | BrianH |
Platform | All | Severity | minor | Priority | normal |
Summary | SET block! block! and SET object! block! assume /any |
---|---|
Description | If you SET (not SET/any) a block of words or an object to another block of values, and one of those values is unset, then the function should trigger a 'script 'need-value error, preferably with the arg1 being the associated word rather than the whole word block. Right now it just does the assignment, as if you used SET/any. |
Example code |
>> set 'a () ** Script error: a needs a value ** Where: set ** Near: set 'a () >> set [a b] reduce [1 ()] == [1 unset!] ; should be the same error >> a == 1 >> b ** Script error: b has no value |
Assigned to | n/a | Fixed in | - | Last Update | 18-Aug-2013 13:50 |
---|
Comments | |
---|---|
(0003435)
BrianH 11-Feb-2013 05:42 |
Fix here: https://github.com/rebol/r3/pull/81 |
(0003477)
abolka 21-Feb-2013 02:01 |
In the core-tests suite. |
Date | User | Field | Action | Change |
---|---|---|---|---|
18-Aug-2013 13:50 | Ladislav | Status | Modified | pending => complete |
21-Feb-2013 02:01 | abolka | Comment : 0003477 | Added | - |
11-Feb-2013 05:42 | BrianH | Comment : 0003435 | Added | - |
11-Feb-2013 05:41 | BrianH | Status | Modified | reviewed => pending |
8-Feb-2013 22:46 | BrianH | Summary | Modified | SET block! block! assumes /any => SET block! block! and SET object! block! assume /any |
8-Feb-2013 22:46 | BrianH | Description | Modified | - |
21-Nov-2010 21:21 | carl | Code | Modified | - |
21-Nov-2010 21:21 | carl | Status | Modified | submitted => reviewed |
12-Nov-2010 08:08 | BrianH | Ticket | Added | - |