REBOL3 tracker
  0.9.12 beta
Ticket #0002050 User: anonymous

Project:



Short URL: http://issue.cc/r3/2050
rss
TypeBug Statusbuilt Date15-Aug-2013 23:56
Versionr3 master CategoryDatatype Submitted byLadislav
PlatformAll Severitymajor Prioritynormal

Summary When cloning objects, functions aren't deep cloned
Description When cloning objects, functions are deep bound, but only shallow cloned, which results in the bug demonstrated below.
Example code
o: make object! [n: 'o b: reduce [func [] [n]]]
p: make o [n: 'p]
o/b/1 ; == p - o expected!

Assigned ton/a Fixed in- Last Update5-Jan-2016 03:27


Comments
(0003931)
Ladislav
16-Aug-2013 13:49

In the core-tests suite.
(0003950)
Ladislav
22-Aug-2013 12:03

Fixed in https://github.com/rebol/rebol/pull/134
(0004650)
fork
24-Jul-2015 22:10

See #2226. o/b/1 should be (o/b)/1
(0004676)
Ladislav
5-Jan-2016 03:27

#2226 is probably a bug in your implementation

Date User Field Action Change
5-Jan-2016 03:27 ladislav Comment : 0004676 Added -
24-Jul-2015 22:10 Fork Comment : 0004650 Added -
11-Mar-2014 19:16 Ladislav Status Modified pending => built
22-Aug-2013 12:03 Ladislav Code Modified -
22-Aug-2013 12:03 Ladislav Status Modified submitted => pending
22-Aug-2013 12:03 Ladislav Comment : 0003950 Added -
16-Aug-2013 13:49 Ladislav Comment : 0003931 Added -
15-Aug-2013 23:56 Ladislav Ticket Added -