Type | Bug | Status | tested | Date | 21-Jun-2010 21:49 |
---|---|---|---|---|---|
Version | alpha 99 | Category | Native | Submitted by | meijeru |
Platform | All | Severity | minor | Priority | normal |
Summary | STACK/WORD yields handle! instead of word! |
---|---|
Description | This facility is supposed to yield the name of the function but all it does is yield a value of type handle! |
Example code |
>> stack 0 == [stack] >> probe stack/word 0 handle! ;; should be stack |
Assigned to | n/a | Fixed in | alpha 108 | Last Update | 20-Oct-2010 03:53 |
---|
Comments | |
---|---|
(0002396)
meijeru 21-Jun-2010 21:52 |
Inspection of the stack as implemented in memory shows that the type-number in the value unit on the stack which contains the name of the function is not #20 (meaning type word!) but #34 (meaning type handle!). So it is a small wonder...
As an aside, the utility of stack/word is doubtful because (stack/word i) == pick stack 0 (i + 1) . |
(0002509)
Carl 21-Sep-2010 20:05 |
Fixed. Seems like a valid request.
Meijeru: Note that external inspection of the internal data stack (that is not by using the STACK function) is not supported by the API. The stack format is free to change between releases, and code that depends on stack format will break. |
Date | User | Field | Action | Change |
---|---|---|---|---|
20-Oct-2010 03:53 | BrianH | Status | Modified | built => tested |
21-Sep-2010 20:05 | carl | Comment : 0002509 | Added | - |
21-Sep-2010 20:02 | carl | Code | Modified | - |
21-Sep-2010 20:02 | carl | Fixedin | Modified | => alpha 108 |
21-Sep-2010 20:02 | carl | Status | Modified | submitted => built |
21-Jun-2010 21:52 | meijeru | Comment : 0002396 | Added | - |
21-Jun-2010 21:49 | meijeru | Ticket | Added | - |