Ticket #4 (closed defect: fixed)
Func should return binded blocks
| Reported by: | jvargas | Owned by: | krobillard |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Orca | Version: | |
| Keywords: | closure | Cc: |
Description
Func supports most of the closure behaviours properly. However in the following example it fails causing an interpreter crash.
relation: func [value [integer!] /local f-value][ f-value: 2 * value return [value f-value] ] result: relation 2 print second result ;== f-value reduce result ;; BUS ERROR
Change History
Note: See
TracTickets for help on using
tickets.
