<br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 1:51 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 class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(Installer monticello mc: (MCHttpRepository new location:<br>
&#39;<a href="http://source.squeak.org/FFI&#39;" target="_blank">http://source.squeak.org/FFI&#39;</a>))<br>
    install: &#39;FFI-Kernel-eem.24.mcz&#39;. &quot;There&#39;s a -tbn.25, but that&#39;s<br>
not important to this post&quot;<br>
<br>
fails with an MNU: ExternalFunction class &gt;&gt; callingConventionFor:.<br>
<br>
As far as I can see what&#39;s happening is this:<br>
* during the loading of the mcz ExternalFunction is defined,<br>
* a method is parsed (#XOpenDisplay, which has a pragma &lt;cdecl:<br>
X11Display* &#39;&#39;XOpenDisplay&#39;&#39; (char*) module:&#39;&#39;X11&#39;&#39;&gt;)<br>
* Parser &gt;&gt; externalFunctionDeclaration checks whether<br>
ExternalFunction is defined.<br>
* It is, so tries to evaluate `descriptorClass callingConvention:<br>
here` and boom, because ExternalFunction class &gt;&gt;<br>
callingConventionFor: _has not been loaded yet_.<br></blockquote><div><br></div><div>I thought we&#39;d modified Monticello to load new methods first.  Did this not get added to trunk?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
I&#39;ve seen this kind of issue with Helvetia code: sometimes you simply<br>
have to load class-side methods first.<br>
<br>
Thoughts? Lukas worked around the issue with his Helvetia code by<br>
directly patching Monticello, and ripping out its &quot;try to do atomic<br>
loading&quot; mechanism.<br>
<span class="HOEnZb"><font color="#888888"><br>
frank<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>