<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Fix at GitHub.<br>
<br>
Thanks,<br>
<br>
On 5/15/2022 2:31 PM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:db3868f4-ad90-b66a-c5ef-33176b970b20@drgeo.eu"
type="cite">
<div class="moz-text-html" lang="x-unicode">
</div>
<p>Hi, <br>
</p>
<p>I have an <b>Error: perform:withArguments:inSuperclass: failed</b><br>
</p>
<p>1. Listening to the #checkSelection event from the check
object:</p>
<blockquote>
<p> check when: #checkSelection send: #changedCheck:for: to:
self withArguments: {check. aPref} . </p>
</blockquote>
<p>2. Then when the check object trigger the event:</p>
<blockquote>
<p> self triggerEvent: #checkSelection with: self </p>
</blockquote>
<p>This error shows up. Of course the #changedCheck:for: method is
implemented.</p>
<p>It is a primitive fail, the message primitiveFailed is reached:</p>
<blockquote> perform: selector withArguments: argArray
inSuperclass: lookupClass <br>
"NOTE: This is just like perform:withArguments:, except
that <br>
the message lookup process begins, not with the receivers's
class, <br>
but with the supplied superclass instead. It will fail if
lookupClass <br>
cannot be found among the receiver's superclasses. <br>
Primitive. Essential. See Object documentation
whatIsAPrimitive." <br>
<br>
<primitive: 100> <br>
(selector isMemberOf: Symbol) <br>
ifFalse: [^ self error: 'selector argument must be a
Symbol']. <br>
(selector numArgs = argArray size) <br>
ifFalse: [^ self error: 'incorrect number of
arguments']. <br>
(self class == lookupClass or: [self class inheritsFrom:
lookupClass]) <br>
ifFalse: [^ self error: 'lookupClass is not in my
inheritance chain']. <br>
self primitiveFailed <br>
</blockquote>
<p>Hilaire<br>
</p>
<pre>--
GNU Dr. Geo
<a moz-do-not-send="true" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-size: 16px;" lang="x-western">
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
<div class="moz-txt-sig">--
Cuis-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Cuis-dev@lists.cuis.st">Cuis-dev@lists.cuis.st</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.cuis.st/mailman/listinfo/cuis-dev">https://lists.cuis.st/mailman/listinfo/cuis-dev</a>
</div></pre>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</body>
</html>