deleting a class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

deleting a class

Steve Waring-2
Hi,

If I open a fresh v4.0 image, and then in a CHB;
create a class, then delete it by right-clicking\delete,
I get the following walkback;

2:42:03 AM, Thursday, 23 November 2000: 'assertion failure'
Signal>>signal
PackageManager(Object)>>assert:
PackageManager>>onSystemClassRemoved:
EventMessageSend>>valueWithArguments:
[] in EventsCollection>>triggerEvent:with:
EventMessageSequence>>do:
EventsCollection>>triggerEvent:with:
SystemDictionary(Object)>>trigger:with:
SystemDictionary>>removeClass:
ClassBuilder>>remove
ClassBuilder class>>removeClass:
TestObject class(Class)>>removeFromSystem
[] in SmalltalkSystem>>removeClass:
ExceptionHandler(ExceptionHandlerAbstract)>>markAndTry
[] in ExceptionHandler(ExceptionHandlerAbstract)>>try:
BlockClosure>>ensure:
ExceptionHandler(ExceptionHandlerAbstract)>>try:
BlockClosure>>on:do:
SmalltalkSystem>>removeClass:
ClassHierarchyPresenter>>removeClass
Symbol>>forwardTo:
[] in Command>>value
BlockClosure>>ensure:
Command>>value
ClassBrowserShell(Shell)>>performCommand:
CommandQuery>>perform
DelegatingCommandPolicy(CommandPolicy)>>route:
[] in TreeView(View)>>onCommand:

I can resume it with no problems, and the class appears to be properly
removed. (Creating then deleting the class is the first thing I do when
opening the image, so there is no default package etc.)

BTW is there a more appropriate way to report buglets than clsd?

Good night!
Steve


Reply | Threaded
Open this post in threaded view
|

Re: deleting a class

Blair McGlashan
Steve

You wrote in message news:FURS5.142037$[hidden email]...

>
> If I open a fresh v4.0 image, and then in a CHB;
> create a class, then delete it by right-clicking\delete,
> I get the following walkback;
>
> 2:42:03 AM, Thursday, 23 November 2000: 'assertion failure'
> Signal>>signal
> PackageManager(Object)>>assert:
> PackageManager>>onSystemClassRemoved:
>...
> I can resume it with no problems, and the class appears to be properly
> removed. (Creating then deleting the class is the first thing I do when
> opening the image, so there is no default package etc.)


The assertion is duff. It's not taking account of the removal of unpackaged
classes. You can safely ignore it.

Another one for the next Live Update, thanks.

> BTW is there a more appropriate way to report buglets than clsd?

We enjoy washing our dirty linen in public. It's cathartic. :-).

Regards

Blair


























begin 666 PackageManager_onSystemClassRemoved.st
M(5!A8VMA9V5-86YA9V5R(&UE=&AO9'-&;W(A#0H-"F]N4WES=&5M0VQA<W-2
M96UO=F5D.B!A0VQA<W,-"@DB4')I=F%T92 M(%)E86-T('1O(&%#;&%S<R!B
M96EN9R!R96UO=F5D(&9R;VT@=&AE(%-M86QL=&%L:R!S>7-T96TN#0H)16YS
M=7)E('1H870@;F]N92!O9B!T:&4@<&%C:V%G97,@:&5L9"!B>2!T:&4@<F5C
M96EV97(@<F5F97(@=&\@84-L87-S#0H);W(@:71S(&UE=&AO9',@;F]W(&ET
M(&AA<R!D97!A<G1E9"XB#0H-"@ES96QF(&ES4')O8V5S<VEN9T5V96YT<R!I
M9E1R=64Z(%L@?"!C:&%N9V5D('!K9R!\#0H)"7!K9R Z/2!P86-K86=E9$=L
M;V)A;',@<F5M;W9E2V5Y.B!A0VQA<W,@;F%M92!I9D%B<V5N=#H@6UTN#0H)
M"2)792!M=7-T(&EN9F]R;2!A;&P@<&%C:V%G97,L(&YO="!J=7-T('1H92!P
M86-K86=E(&]W;FEN9R!T:&4@8VQA<W,L#0H)"2!I;B!C87-E(&%N>2!O=&AE
M<B!P86-K86=E<R!I;F-L=61E(&QO;W-E(&UE=&AO9',@;V8@=&AE(&-L87-S
M+B!);B!C87-E( T*"0ET:&5Y(&1O('=E(&5M<'1Y(&]U<B!L;V]S92!M971H
M;V0@8V%C:&4N(@T*"0ES96QF(&9O<F=E=$QO;W-E365T:&]D<RX-"@D)8VAA
M;F=E9" Z/2!S96QF('!A8VMA9V5S('-E;&5C=#H@6SIA4&%C:V%G92!\(&%0
M86-K86=E(&]N0VQA<W-296UO=F5D.B!A0VQA<W-=+@T*"0ES96QF(&%S<V5R
M=#H@6VQO;W-E365T:&]D<R!I<TYI;%TN#0H)"6-H86YG960@9&\Z(%LZ85!A
M8VMA9V4@?"!A4&%C:V%G92!O=VYE9$-H86YG961=+@T*"0ES96QF(')E<V5T
M4')E<F5Q=6ES:71E<UTN#0HA("$-"B%086-K86=E36%N86=E<B!C871E9V]R
M:65S1F]R.B C;VY3>7-T96U#;&%S<U)E;6]V960Z(65V96YT(&AA;F1L:6YG
/(7!R:79A=&4A("$-"@T*
`
end