| Type | Bug | Status | submitted | 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 | - | Last Update | 21-Jun-2010 21:52 |
|---|
| 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) . |
| Date | User | Field | Action | Change |
|---|---|---|---|---|
| 21-Jun-2010 21:52 | meijeru | Comment : 0002396 | Added | - |
| 21-Jun-2010 21:49 | meijeru | Ticket | Added | - |