REBOL3 tracker
  0.9.12 beta
Ticket #0000075 User: anonymous

Project:



rss
TypeBug Statustested Date5-Jun-2007 18:23
Version1.0.0 Categoryn/a Submitted byGabriele
PlatformAll Severitymajor Prioritynone

Summary APPEND on cloned object modifies prototype
Description Creating a clone object without adding new words seems to share the words block between the prototype and the new object; this breaks if you append to the new object.

o: make object! [a: 1]
o2: make o [] ; no new words, so words block shared!
append o2 [b 2]
probe o ; gets modified!
Example code

			

Assigned ton/a Fixed in- Last Update20-Feb-2013 17:29


Comments
(0003474)
Ladislav
20-Feb-2013 17:29

In the core-tests suite.

Date User Field Action Change
20-Feb-2013 17:29 Ladislav Comment : 0003474 Added -
2-Dec-2008 18:50 Admin Ticket Added -