brianray / lepl

Automatically exported from code.google.com/p/lepl
Other
0 stars 0 forks source link

Cloning loses matchers #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See http://groups.google.com/group/lepl/msg/23734c4bbdaf45f2 and related
thread.

The problem occurs when a graph is cloned starting from a point which is
not the root of the tree (if Delayed nodes are broken to remove cycles).

Original issue reported on code.google.com by acooke....@gmail.com on 4 Sep 2009 at 12:50

GoogleCodeExporter commented 9 years ago
This has been fixed by modifying DelayedClone to:
(1) Introduce new Delayed instances for loops, rather than "re-using" existing 
instances
(2) Dropping existing Delayed instances whenever possible, so that the number 
does
not grow with repeated cloning.

Original comment by acooke....@gmail.com on 4 Sep 2009 at 12:52

GoogleCodeExporter commented 9 years ago
Fixed in 3.2

Original comment by acooke....@gmail.com on 4 Sep 2009 at 11:55