<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It is indeed some left over from the Spec refactoring :)<div><br></div><div>I thought the code you were talking about was your code where actually it's part of Spec :)</div><div><br></div><div>I am fixing it right now :P<br><div><br></div><div><div apple-content-edited="true"><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">Ben</span>

</div>
<br><div><div>On Oct 16, 2013, at 9:50 PM, Sean P. DeNigris <<a href="mailto:sean@clipperadams.com">sean@clipperadams.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii">I manually fed in an instance of by changing the code to:<div>    actionToPerformWithSelector: selector arguments: args</div><div><div><span class="Apple-tab-span" style="white-space:pre">    </span>| instance |</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>instance := spec instance.</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>instance = #DialogWindowSpec ifTrue: [ instance := SpecDialogWindow new ].</div><div><span class="Apple-tab-span" style="white-space:pre">   </span>^ instance perform: selector withArguments: args</div><div><br></div><div>But then I got: MessageNotUnderstood: ByteSymbol>>changeTableLayout (where the symbol was #Panel)</div><div><br></div><div>It seems that #actionToPerformWithSelector:arguments: expects "spec instance" to return an actual instance, but is getting Symbols instead. It seems to be a bug in Spec because none of this has anything to do with my code, and if I change "self new openDialogWithSpec" to "self new openWithSpec" it opens correctly.</div><div><br><div><div>On Oct 16, 2013, at 1:01 PM, "Benjamin Van Ryseghem-2 [via Smalltalk]" <<a href="x-msg://2874/user/SendEmail.jtp?type=node&node=4715081&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" type="cite">

        <meta http-equiv="Content-Type" content="text/html charset=us-ascii">Try replacing it with DlalogWindowModel<br><div>
<br class="Apple-interchange-newline"><span style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">Ben</span>

</div>
<br><div><div>On Oct 16, 2013, at 5:27 PM, Sean P. DeNigris <<a href="<a href="x-msg://206/user/SendEmail.jtp?type=node&amp;node=4715064&amp;i=0">x-msg://206/user/SendEmail.jtp?type=node&amp;node=4715064&amp;i=0</a>" target="_top" rel="nofollow" link="external">[hidden email]> wrote:</div><br class="Apple-interchange-newline"><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" type="cite">Benjamin Van Ryseghem-2 wrote<br><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" type="cite">Without further information, I can not do much more<br></blockquote><br>I sent #openDialogWithSpec, and the offending symbol is #DialogWindowSpec<br><br><br><br>-----<br>Cheers,<br>Sean<br>--<br>View this message in context: <a href="http://forum.world.st/Spec-error-tp4714069p4715018.html" target="_top" rel="nofollow" link="external">http://forum.world.st/Spec-error-tp4714069p4715018.html</a><br>Sent from the Pharo Smalltalk Developers mailing list archive at <a href="http://nabble.com/" target="_top" rel="nofollow" link="external">Nabble.com</a>.<br><br></blockquote></div><br>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://forum.world.st/Spec-error-tp4714069p4715064.html" target="_top" rel="nofollow" link="external">http://forum.world.st/Spec-error-tp4714069p4715064.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Spec error, <a href="x-msg://2874/" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></blockquote></div><br></div></div>

        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                Cheers,
<br>Sean
                        </div>
<br><hr align="left" width="300">
View this message in context: <a href="http://forum.world.st/Spec-error-tp4714069p4715081.html">Re: Spec error</a><br>
Sent from the <a href="http://forum.world.st/Pharo-Smalltalk-Developers-f1294837.html">Pharo Smalltalk Developers mailing list archive</a> at <a href="http://Nabble.com">Nabble.com</a>.<br></blockquote></div><br></div></div></body></html>