I have a FilteredBrowser class that is no longer working. I am trying to set a class organizer and it tries to access the environment of the class. This has clearly changed. What should I do to get this fixed?
SmalltalkImage(Object)>>doesNotUnderstand: #environmentForCategory:
I attached the FilteredBrowser class which used to work in like 3.8 or so.
Thanks, Rob
---- The Modern Whig Party of Virginia - http://vawhigs.org
Here's the code I am trying to run:
| envt | envt := Smalltalk environmentForCategory: #'SSL-Handshake Msgs'. ^ envt at: #SSLServerHelloMsg
---- The Modern Whig Party of Virginia - http://vawhigs.org
-------------------------------------------------- From: "Rob Withers" reefedjib@yahoo.com Sent: Sunday, June 27, 2010 9:39 AM To: "Squeak Dev" squeak-dev@lists.squeakfoundation.org Subject: [squeak-dev] FilteredBrowser no longer working
I have a FilteredBrowser class that is no longer working. I am trying to set a class organizer and it tries to access the environment of the class. This has clearly changed. What should I do to get this fixed?
SmalltalkImage(Object)>>doesNotUnderstand: #environmentForCategory:
I attached the FilteredBrowser class which used to work in like 3.8 or so.
Thanks, Rob
The Modern Whig Party of Virginia - http://vawhigs.org
On Sun, 27 Jun 2010, Rob Withers wrote:
I have a FilteredBrowser class that is no longer working. I am trying to set a class organizer and it tries to access the environment of the class. This has clearly changed. What should I do to get this fixed?
SmalltalkImage(Object)>>doesNotUnderstand: #environmentForCategory:
I attached the FilteredBrowser class which used to work in like 3.8 or so.
Environments were removed in 3.9, though #environmentForCategory: was present, but it was deprecated. Since we still don't have namespaces, just use Smalltalk globals.
Levente
Thanks, Rob
The Modern Whig Party of Virginia - http://vawhigs.org
I switched to using
^ Smalltalk at: nameSymbol.
And it works.
Thanks, Rob
---- The Modern Whig Party of Virginia - http://vawhigs.org
-------------------------------------------------- From: "Levente Uzonyi" leves@elte.hu Sent: Sunday, June 27, 2010 10:18 AM To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Subject: Re: [squeak-dev] FilteredBrowser no longer working
On Sun, 27 Jun 2010, Rob Withers wrote:
I have a FilteredBrowser class that is no longer working. I am trying to set a class organizer and it tries to access the environment of the class. This has clearly changed. What should I do to get this fixed?
SmalltalkImage(Object)>>doesNotUnderstand: #environmentForCategory:
I attached the FilteredBrowser class which used to work in like 3.8 or so.
Environments were removed in 3.9, though #environmentForCategory: was present, but it was deprecated. Since we still don't have namespaces, just use Smalltalk globals.
Levente
Thanks, Rob
The Modern Whig Party of Virginia - http://vawhigs.org
squeak-dev@lists.squeakfoundation.org