<div>I am beginning to remember why I did this.</div><br><div>I once developed a rather large package that implements multiple-dispatch.</div><div>For that purpose I implemented a custom compiler and  two Parser classes, </div><div>including the shout part. Not to mention the decompiler.</div><br><div>I was not able to compile any test code, because #compilerClass needs to be defined,</div><div>to compiler the remaining code. Of course this can be solved by defining an abstract super class</div><div>in a distinct package, that just defines #compilerClass, but I deem that solution ugly.</div><br><div>A sensible solution would be to file out the category definitions before the code.</div><br><div>I would like to keep it for Haver, but this isn't a big deal.</div><div>I had to sub-class CodePackage anyway, to make it deal with emvironments/modules.</div><div>So drop me a note if you want to change it, I can cope.</div><br><br><div>HTH,</div><br><div>Gerald</div><div class="gmail_quote_attribution">On May 2 2022, at 3:29 pm, Juan Vuletich via Cuis-dev <cuis-dev@lists.cuis.st> wrote:</div><blockquote><div>  I think that #selectorNeededForFilein: and doing that distinction for package files introduces non-obvious, confusing behavior. I wasn't aware of this.</div><br><div>I think it is best to remove all this, make it as it was before this batch of changes from January, 2019. And if any package has trouble being loaded, the it should be split in two, using package dependency to load the first part.</div><br><div>Do you agree, folks? I can do the required changes.</div><br><div>Thanks,</div><br><div>On 4/29/2022 7:40 AM, Luciano Notarfrancesco via Cuis-dev wrote:</div><blockquote><br><div>Found the problem: Metaclass class>>#isScarySelector:.</div><div><br></div><div>Juan, what do you think we should do? One way is to reorder all method categories at the end of the package file, but that will make package files grow quite a bit.</div><div><br></div><div><br><div><div><div>On Thu, 28 Apr 2022 at 6:58 PM Gerald Klix <<a href="mailto:cuis.01@klix.ch" title="mailto:cuis.01@klix.ch">cuis.01@klix.ch</a>> wrote:</div></div><blockquote><div>Yep, I gave up ordering them manually. And I just noticed, that I was the last one, who touched the responsible pieces of code ...</div><br><br><div>HTH,</div><br><div>Gerald</div><div>On Apr 28 2022, at 1:39 pm, Luciano Notarfrancesco via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" title="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:</div><blockquote><div>Has anyone noticed that the ordering of method categories is lost when saving a package? Lately I noticed that ‘printing’ ends up at the top, not sure why but there seems to be something special about ‘printing’. I haven’t researched the problem yet, just wondering if this is happening only with my package or if it happens to other people. --</div><div>Cuis-dev mailing list</div><div><a href="mailto:Cuis-dev@lists.cuis.st" title="mailto:Cuis-dev@lists.cuis.st">Cuis-dev@lists.cuis.st</a></div><div><a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" title="https://lists.cuis.st/mailman/listinfo/cuis-dev">https://lists.cuis.st/mailman/listinfo/cuis-dev</a></div></blockquote></blockquote></div></div></blockquote><br><br><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em">-- <br>Juan Vuletich<br><a href="http://www.cuis-smalltalk.org" title="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a><a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" title="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a><a href="https://github.com/jvuletich" title="https://github.com/jvuletich">https://github.com/jvuletich</a><a href="https://www.linkedin.com/in/juan-vuletich-75611b3" title="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a><a href="https://independent.academia.edu/JuanVuletich" title="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a><a href="https://www.researchgate.net/profile/Juan-Vuletich" title="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a><a href="https://patents.justia.com/inventor/juan-manuel-vuletich" title="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a><a href="https://twitter.com/JuanVuletich" title="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre></code><div>--</div><div>Cuis-dev mailing list</div><div>Cuis-dev@lists.cuis.st</div><div>https://lists.cuis.st/mailman/listinfo/cuis-dev</div></blockquote>