Type | Bug | Status | built | Date | 15-Aug-2013 17:26 |
---|---|---|---|---|---|
Version | r3 master | Category | Datatype | Submitted by | Ladislav |
Platform | All | Severity | major | Priority | normal |
Summary | Object cloning ignores closures |
---|---|
Description | As the example demonstrates, the interpreter ignores closures when cloning objects. |
Example code |
; when cloning an object, functions are cloned: o: make object! [n: 'o f: func [] [n]] o/f ; == o p: make o [n: 'p] p/f ; == p ; while closures are ignored: o: make object! [n: 'o f: closure [] [n]] o/f ; == o p: make o [n: 'p] p/f ; == o |
Assigned to | n/a | Fixed in | - | Last Update | 11-Mar-2014 19:18 |
---|
Comments | |
---|---|
(0003930)
Ladislav 16-Aug-2013 13:39 |
In the core-tests suite. |
(0003944)
Ladislav 19-Aug-2013 21:48 |
Fixed by https://github.com/rebol/rebol/pull/132 |
Date | User | Field | Action | Change |
---|---|---|---|---|
11-Mar-2014 19:18 | Ladislav | Status | Modified | pending => built |
19-Aug-2013 21:48 | Ladislav | Code | Modified | - |
19-Aug-2013 21:48 | Ladislav | Status | Modified | submitted => pending |
19-Aug-2013 21:48 | Ladislav | Comment : 0003944 | Added | - |
16-Aug-2013 13:39 | Ladislav | Comment : 0003930 | Added | - |
15-Aug-2013 17:26 | Ladislav | Ticket | Added | - |