[squeak-dev] BlockClosure asContext losing bound variable?

Rob Withers reefedjib at yahoo.com
Sun Jun 27 22:34:45 UTC 2010

I am getting a walkback on this code, with a valid vat:

EventualProcess class>>#newOnVat: vat
	^ super new
		suspendedContext: [
			vat processSends.
			Processor terminateActive] asContext;
		 priority: Processor userSchedulingPriority;
		 eventualName: 'vat thread';
		 vat: vat;

once it has been resumed.  The exception is 
UndefinedObject(Object)>>doesNotUnderstand: #processSends.  Somehow the vat 
variable inside the Closure/MethodContext has become nil.    Anyone know 
about this stuff?

Many thanks,

More information about the Squeak-dev mailing list