<br><br>
<div class="gmail_quote">On Wed, Apr 24, 2013 at 11:24 AM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im">On 23 April 2013 15:14, Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt; wrote:<br>&gt; On 2013-04-23, at 11:41, Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt; wrote:<br>
&gt;<br>&gt;&gt; I&#39;ve pushed out a new config map, update-fbs.231, which loads Morphic<br>&gt;&gt; before Graphics, thus ensuring that there&#39;s always a #asGrafPort in<br>&gt;&gt; the image. I still don&#39;t like that Cog sprang a leak there, but at<br>
&gt;&gt; least things are back on track.<br>&gt;&gt;<br>&gt;&gt; All I&#39;d wanted to do was move a method from one package to another: I<br>&gt;&gt; really hadn&#39;t expected to completely smash updating. Is there anything<br>
&gt;&gt; I could have done before pushing to trunk to prevent this?<br>&gt;&gt;<br>&gt;&gt; frank<br>&gt;<br>&gt; Moving an active method from one package to another is fragile, as you discovered. The moved-to package must be loaded first, otherwise the method is deleted from the system.<br>
&gt;<br>&gt; The proper way to let MC handle this would be to load the two packages together, in which case the order would not matter. But this had worse consequences so we&#39;re using the update-map order instead.<br><br>
</div>Do you mean using slices? If so, what are the worse problems?<br>
<div class="im"><br>&gt; A possible solution would be to go through the whole update map first and find the &quot;bad&quot; moves (those where a method or class would be deleted and later added again) and load only these. Since it only reclassifies, the actual system behavior would be unchanged. But the loading would succeed without introducing obsolete instances and missing methods.<br>
</div></blockquote>
<div>Could a preamble with the method in concern inlined work ?</div>
<div> </div>
<div>Karl</div>
<div> </div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im"><br> </div>That sounds like it could work. You have to get all those new updates<br>anyway, so getting them up front and &quot;merging&quot; them wouldn&#39;t be (much<br>of) a performance hit.<br><br>&gt; - Bert -<br>
<br></blockquote></div><br>