did it work in the nonclosure version? Stef
On Mar 22, 2009, at 8:06 PM, Marco Schmidt wrote: > There is a DNU after trying to open the SqueakMap Package Loader- > Tool... > > > VM: Squeak 3.11.1 (alpha) - (The above "multiply" test ^^ succeded) > IMG: 10259-ClosureBootstrap > OS: Windows Vista x64 > > > > > > > 2009/3/22 Stéphane Ducasse <[email protected]> > probably doing a difference between the interface of BlockContext and > BlockClosure will help. > > Stef > On Mar 22, 2009, at 7:34 PM, Stéphane Ducasse wrote: > > >> UIThemeVistary beCurrent. > > > > what is nice is that the VM does not crash. > > I cannot open any browser. > > So in another image I checked a bit. > > > > BlockContext defined isValid (a polymoprph-EventEnhancements) > > > > sent by > > > > BlockContext>>isValid > > "Answer true so we can be used in event dispatching." > > > > ^true > > > > WeakActionSequence>>asMinimalRepresentation > > > > | valid | > > valid := self select: [:e | e isValid ]. > > valid size = 0 > > ifTrue: [^nil]. > > valid size = 1 > > ifTrue: [^valid first]. > > ^valid > > > > I do not really know the code of gary. > > As a pure hack I added isValid to blockClosure to return true > > and I did not get the problem > > > > of course this is a shitty way to answer the problem. > > > > > > Now when I close using the cross on the right (and not the button on > > the left) > > the vistaryStyle I get similar problems > > > > [closure] in UIThemeVistary>>createCloseBoxFor: DNU > > asMinimalRepresentation > > > > > > BlockContext>>asMinimalRepresentation > > "Answer the receiver." > > > > ^self > > > > I defined the same in BlockClosure and it worked but I would > prefer to > > understand what I was doing. > > > > > > > > > > stef > > > > > > _______________________________________________ > > Pharo-project mailing list > > [email protected] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > <SqueakDebug - > Kopie.log>_______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
